Skip to content

Commit ff016c4

Browse files
committed
refactor: make executor defaults meaningful
1 parent 6075043 commit ff016c4

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

nx.json

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -72,30 +72,22 @@
7272
}
7373
},
7474
"unit-test": {
75-
"cache": true,
76-
"inputs": ["test-vitest-inputs"],
7775
"outputs": [
7876
"{workspaceRoot}/coverage/{projectName}/unit-tests/lcov.info"
7977
],
8078
"executor": "@nx/vite:test",
8179
"options": {
8280
"configFile": "{projectRoot}/vitest.unit.config.ts",
83-
"passWithNoTests": true,
84-
"watch": false,
8581
"coverage": {
8682
"enabled": true
8783
}
8884
}
8985
},
9086
"int-test": {
91-
"cache": true,
92-
"inputs": ["test-vitest-inputs"],
9387
"outputs": ["{workspaceRoot}/coverage/{projectName}/int-tests/lcov.info"],
9488
"executor": "@nx/vite:test",
9589
"options": {
9690
"configFile": "{projectRoot}/vitest.int.config.ts",
97-
"passWithNoTests": true,
98-
"watch": false,
9991
"coverage": {
10092
"enabled": true
10193
}
@@ -122,7 +114,14 @@
122114
"nxv-pkg-install": {
123115
"parallelism": false
124116
},
125-
"@nx/vite:test": {},
117+
"@nx/vite:test": {
118+
"cache": true,
119+
"inputs": ["test-vitest-inputs"],
120+
"options": {
121+
"passWithNoTests": true,
122+
"watch": false
123+
}
124+
},
126125
"code-pushup": {
127126
"cache": false,
128127
"outputs": [

0 commit comments

Comments
 (0)