Skip to content

Commit ef72a9c

Browse files
authored
test: run initializer checks as ct pre-step script
1 parent d0ce5ab commit ef72a9c

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

‎ct-angular/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"start": "ng serve",
88
"build": "ng build",
99
"watch": "ng build --watch --configuration development",
10-
"test": "node --test ../playwright-ct-angular/create-playwright-sand4rt/test/lib.test.js && npx playwright test",
10+
"test": "pnpm --filter create-playwright-sand4rt run test:pre-ct && npx playwright test",
1111
"typecheck": "tsc --noEmit"
1212
},
1313
"dependencies": {

‎playwright-ct-angular/create-playwright-sand4rt/package.json‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
"bin": {
66
"create-playwright": "index.js"
77
},
8+
"scripts": {
9+
"test:pre-ct": "node --test test/lib.test.js"
10+
},
811
"config": {
912
"ctPackageVersion": "1.58.2"
1013
},

0 commit comments

Comments
 (0)