Avoid nx jest executor for running unit tests (#33220)

* Avoid nx jest executor for running unit tests

The jest executor mangles the "summary of failing tests" from jest.

* Remove unneded dep on nx/jest
This commit is contained in:
Richard van der Hoff
2026-04-21 15:07:54 +01:00
committed by GitHub
parent 12a3abc0d5
commit 1f6d1dbc0d
3 changed files with 3 additions and 62 deletions
+3 -5
View File
@@ -47,11 +47,9 @@
"dependsOn": ["^build", "^build:playwright"]
},
"test:unit": {
"executor": "@nx/jest:jest",
"options": {
"jestConfig": "{projectRoot}/jest.config.ts",
"cwd": "apps/web"
},
// We avoid the jest executor because it doesn't seem to give any benefit, and it mangles the summary of failing tests.
"command": "jest",
"options": { "cwd": "apps/web" },
"dependsOn": ["^build"]
},
"test:playwright": {