From 6835804f79bdd9f9934ea14e6817e048e9483bc1 Mon Sep 17 00:00:00 2001 From: Valera Melnikov Date: Thu, 27 Jun 2024 18:20:11 +0300 Subject: [PATCH] fix: jest ci script (#34562) ## Description Now, all unit tests will continue to be run in the CI pipeline, even if they fail. ## Automation /ok-to-test tags="" ### :mag: Cypress test results > [!CAUTION] > If you modify the content in this section, you are likely to disrupt the CI result for your PR. ## Communication Should the DevRel and Marketing teams inform users about this change? - [ ] Yes - [x] No ## Summary by CodeRabbit - **Chores** - Updated test script in `package.json` to improve test execution environment. --- app/client/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/client/package.json b/app/client/package.json index 64e5b03076..2469738197 100644 --- a/app/client/package.json +++ b/app/client/package.json @@ -29,7 +29,7 @@ "cytest": "REACT_APP_TESTING=TESTING REACT_APP_ENVIRONMENT=DEVELOPMENT craco start & ./node_modules/.bin/cypress open", "test:unit": "yarn g:jest --coverage --collectCoverage=true --coverageDirectory='../../' --coverageReporters='json-summary'", "test:jest": "jest --watch", - "g:jest": "cd $INIT_CWD && jest -b --colors --no-cache --silent --maxWorkers=50%", + "g:jest": "cd $INIT_CWD && jest --colors --no-cache --silent --maxWorkers=50%", "test:unit:ci": "yarn workspaces foreach -tv run test:unit", "generate:widget": "plop --plopfile generators/index.js", "postinstall": "node cypress/apply-patches.js && yarn init-husky",