From 8594fca0ef332fa6db3c5006a1913886c988a5dc 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 212f94358..6090d5d65 100644 --- a/Makefile +++ b/Makefile @@ -63,6 +63,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 efea9de73..a331f531b 100644 --- a/web/package.json +++ b/web/package.json @@ -25,6 +25,7 @@ "start:standalone": "npm run ts-node node_modules/.bin/webpack serve --stats-error-details --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",