Remove tsConfig
Option from Jest Executor
Removes the previously deprecated and unused tsConfig
option from the @nx/jest:jest
executor configuration in all projects.
Examples
Remove the option from the project configuration:
1{
2 "targets": {
3 "test": {
4 "executor": "@nx/jest:jest",
5 "options": {
6 "jestConfig": "apps/myapp/jest.config.ts",
7 "tsConfig": "apps/myapp/tsconfig.spec.json"
8 }
9 }
10 }
11}
12
Remove the option from a target default using the @nx/jest:jest
executor:
1{
2 "targetDefaults": {
3 "test": {
4 "executor": "@nx/jest:jest",
5 "options": {
6 "jestConfig": "{projectRoot}/jest.config.ts",
7 "tsConfig": "{projectRoot}/tsconfig.spec.json"
8 }
9 }
10 }
11}
12
Remove the option from a target default using the @nx/jest:jest
executor as the key:
1{
2 "targetDefaults": {
3 "@nx/jest:jest": {
4 "options": {
5 "jestConfig": "{projectRoot}/jest.config.ts",
6 "tsConfig": "{projectRoot}/tsconfig.spec.json"
7 }
8 }
9 }
10}
11