Skip to content

Commit 8a52fc3

Browse files
committed
chore: rename test:vitest to test:unit in project configs (#495)
Renamed test task from `test:vitest` to `test:unit` across project configuration files for better clarity and consistency. This change affects the CLI, Core, and DSL packages, updating both the task names and their dependencies to reflect the new naming convention.
1 parent 897b1eb commit 8a52fc3

3 files changed

Lines changed: 7 additions & 7 deletions

File tree

pkgs/cli/project.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,12 @@
3030
"test": {
3131
"executor": "nx:noop",
3232
"inputs": ["default", "^production"],
33-
"dependsOn": ["test:vitest"],
33+
"dependsOn": ["test:unit"],
3434
"options": {
3535
"parallel": false
3636
}
3737
},
38-
"test:vitest": {
38+
"test:unit": {
3939
"executor": "nx:run-commands",
4040
"inputs": ["default", "^production"],
4141
"options": {

pkgs/core/project.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@
208208
"test": {
209209
"executor": "nx:noop",
210210
"inputs": ["default", "^production", "databaseTypes"],
211-
"dependsOn": ["test:vitest", "test:types"]
211+
"dependsOn": ["test:unit", "test:types"]
212212
},
213213
"pgtap": {
214214
"executor": "nx:noop",
@@ -229,7 +229,7 @@
229229
"parallel": false
230230
}
231231
},
232-
"test:vitest": {
232+
"test:unit": {
233233
"executor": "@nx/vite:test",
234234
"dependsOn": ["build", "verify-gen-types"],
235235
"inputs": ["default", "databaseTypes", "^production"],

pkgs/dsl/project.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"parallel": false
2727
}
2828
},
29-
"test:vitest": {
29+
"test:unit": {
3030
"executor": "@nx/vite:test",
3131
"dependsOn": ["build"],
3232
"inputs": ["default", "^production"],
@@ -70,11 +70,11 @@
7070
"test": {
7171
"executor": "nx:noop",
7272
"inputs": ["default", "^production"],
73-
"dependsOn": ["test:vitest", "test:types"]
73+
"dependsOn": ["test:unit", "test:types"]
7474
},
7575
"prepush": {
7676
"executor": "nx:noop",
77-
"dependsOn": ["lint", "build", "test:vitest", "test:types:vitest"]
77+
"dependsOn": ["lint", "build", "test:unit", "test:types:vitest"]
7878
}
7979
}
8080
}

0 commit comments

Comments
 (0)