From 94b01dda98d963dcf4f3fbaaa8e7c62a2369872b Mon Sep 17 00:00:00 2001 From: Evelyn Tanigawa Murasaki Date: Thu, 23 Jul 2026 15:01:39 -0300 Subject: [PATCH] test-frontend-unit --- Makefile | 4 ++++ web/package.json | 1 + 2 files changed, 5 insertions(+) diff --git a/Makefile b/Makefile index d9a06aac6..6fb5567e6 100644 --- a/Makefile +++ b/Makefile @@ -62,6 +62,10 @@ test-backend: test-frontend: cd web && npm run test:unit +.PHONY: test-frontend-unit +test-frontend-unit: + cd web && npm run test:unit:ci + .PHONY: build-image build-image: ./scripts/build-image.sh diff --git a/web/package.json b/web/package.json index 4df32556f..d1e033515 100644 --- a/web/package.json +++ b/web/package.json @@ -28,6 +28,7 @@ "start:standalone": "npm run ts-node node_modules/.bin/webpack serve --config webpack.standalone.config.ts", "start-console": "../scripts/start-console.sh", "test:unit": "TZ=UTC jest --config jest.config.js --passWithNoTests", + "test:unit:ci": "TZ=UTC jest --config jest.config.js --passWithNoTests --maxWorkers=2", "test": "npm run cypress:run:ci", "test-cypress-console": "./node_modules/.bin/cypress open --browser chrome", "test-cypress-console-headless": "node --max-old-space-size=4096 ./node_modules/.bin/cypress run --browser chrome --headless",