Skip to content

Commit 960c433

Browse files
committed
[test] Add make test-spec-watch.
1 parent 2edd722 commit 960c433

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# https://github.com/lgarron/Makefile-scripts
33

44
# Note: the first command becomes the default `make` target.
5-
NPM_COMMANDS = build build-esm build-bundle-global build-types build-bin build-sites build-site-twizzle build-site-experiments build-site-typedoc build-search-worker generate-js generate-js-parsers generate-js-svg dev link clean test test-dist-esm-node-import test-dist-esm-scramble-all-events test-dist-esm-parcel test-dist-esm-vite test-dist-esm-perf test-dist-esm-plain-esbuild-compat test-dist-experiments test-dist-not-imported-from-src test-import-restrictions test-spec test-tsc format setup initial-setup lint prepack postpublish
5+
NPM_COMMANDS = build build-esm build-bundle-global build-types build-bin build-sites build-site-twizzle build-site-experiments build-site-typedoc build-search-worker generate-js generate-js-parsers generate-js-svg dev link clean test test-dist-esm-node-import test-dist-esm-scramble-all-events test-dist-esm-parcel test-dist-esm-vite test-dist-esm-perf test-dist-esm-plain-esbuild-compat test-dist-experiments test-dist-not-imported-from-src test-import-restrictions test-spec test-spec-watch test-tsc format setup initial-setup lint prepack postpublish
66

77
.PHONY: $(NPM_COMMANDS)
88
$(NPM_COMMANDS):

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@
132132
"test-dist-not-imported-from-src": "node ./script/test/dist/not-imported-from-src/main.js",
133133
"test-import-restrictions": "node ./script/test/import-restrictions/main.js",
134134
"test-spec": "npx web-test-runner",
135+
"test-spec-watch": "npx web-test-runner --watch",
135136
"test-tsc": "npm run build-types && npx tsc --project ./tsconfig.json",
136137
"format": "npx eslint --fix --ext=js,ts src script; npx prettier --write src script",
137138
"setup": "npm install",

0 commit comments

Comments
 (0)