Skip to content

Commit 63250d9

Browse files
committed
chore(devextreme-angular): return correct logic for test related scripts
1 parent 86c66a2 commit 63250d9

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

packages/devextreme-angular/project.json

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,6 @@
250250
"executor": "nx:run-commands",
251251
"options": {
252252
"commands": [
253-
"pnpm --workspace-root nx build devextreme-angular",
254253
"pnpm --workspace-root nx clean:tests devextreme-angular",
255254
"pnpm --workspace-root nx generate-component-names-for-tests devextreme-angular",
256255
"pnpm --workspace-root nx copy:dist-dx-angular-to-tests-dist devextreme-angular",
@@ -288,6 +287,21 @@
288287
]
289288
},
290289
"test": {
290+
"executor": "nx:run-commands",
291+
"options": {
292+
"commands": [
293+
"pnpm --workspace-root nx build devextreme-angular",
294+
"pnpm --workspace-root nx build:tests devextreme-angular",
295+
"pnpm --workspace-root nx test:all devextreme-angular"
296+
],
297+
"parallel": false,
298+
"cwd": "packages/devextreme-angular"
299+
},
300+
"inputs": [
301+
"test"
302+
]
303+
},
304+
"test:all": {
291305
"executor": "devextreme-nx-infra-plugin:karma-multi-env",
292306
"options": {
293307
"karmaConfig": "karma.conf.js",
@@ -373,6 +387,7 @@
373387
"karmaConfig": "karma.conf.js",
374388
"environments": ["client", "server", "hydration"]
375389
},
390+
"dependsOn": ["build:tests"],
376391
"inputs": [
377392
"default",
378393
"test",

0 commit comments

Comments
 (0)