Skip to content

Commit 5cca9a5

Browse files
committed
refactor: update test executor to run vitest directly in project.json
Switches the test configuration from using @nx/vite:test with coverage reports to using nx:run-commands with a direct vitest run command, simplifying the test setup and execution in the client package
1 parent 70f81c4 commit 5cca9a5

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

pkgs/client/project.json

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,10 @@
2020
"inputs": ["default"]
2121
},
2222
"test": {
23-
"executor": "@nx/vite:test",
24-
"inputs": ["default"],
25-
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
23+
"executor": "nx:run-commands",
2624
"options": {
27-
"passWithNoTests": true,
28-
"reportsDirectory": "{workspaceRoot}/coverage/{projectRoot}"
25+
"command": "vitest run",
26+
"cwd": "pkgs/client"
2927
}
3028
}
3129
}

0 commit comments

Comments
 (0)