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:
committed by
GitHub
parent
12a3abc0d5
commit
1f6d1dbc0d
@@ -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": {
|
||||
|
||||
Reference in New Issue
Block a user