Skip to content

Commit 88eb41f

Browse files
committed
Fix: build before running test:script
1 parent 49eb8ac commit 88eb41f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"version": "scripts/cli version",
2020
"test": "yarn test:unit:watch",
2121
"test:unit": "karma start ./test/unit/karma.local.conf.js",
22-
"test:script": "node --test --experimental-test-module-mocks './scripts/**/*.spec.*'",
22+
"test:script": "yarn build && node --test --experimental-test-module-mocks './scripts/**/*.spec.*'",
2323
"test:unit:watch": "yarn test:unit --no-single-run",
2424
"test:unit:bs": "node ./scripts/test/bs-wrapper.js karma start test/unit/karma.bs.conf.js",
2525
"test:e2e": "yarn build && (cd test/app && rm -rf node_modules && yarn && yarn build) && wdio test/e2e/wdio.local.conf.ts",

0 commit comments

Comments
 (0)