Skip to content

Commit 9f00946

Browse files
committed
chore: prepend npx to web-test-runner commands in package.json for consistent execution
1 parent 1bee7fb commit 9f00946

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -99,10 +99,10 @@
9999
"format:eslint": "eslint --ext .js,.html . --fix --ignore-path .gitignore",
100100
"lint": "npm run lint:eslint",
101101
"format": "npm run format:eslint",
102-
"test": "web-test-runner test/*.test.js --coverage --node-resolve --playwright --browsers chromium firefox webkit && npm run test:visual",
103-
"test:visual": "web-test-runner test/visual/*.test.js --coverage --node-resolve --playwright --browsers chromium firefox webkit",
104-
"test:watch": "web-test-runner test/*.test.js --node-resolve --watch --playwright --browsers chromium",
105-
"test:visual:update": "web-test-runner test/**/*.test.js --coverage --node-resolve --playwright --browsers chromium firefox webkit --update-visual-baseline\n",
102+
"test": "npx web-test-runner test/*.test.js --coverage --node-resolve --playwright --browsers chromium firefox webkit && npm run test:visual",
103+
"test:visual": "npx web-test-runner test/visual/*.test.js --coverage --node-resolve --playwright --browsers chromium firefox webkit",
104+
"test:watch": "npx web-test-runner test/*.test.js --node-resolve --watch --playwright --browsers chromium",
105+
"test:visual:update": "npx web-test-runner test/**/*.test.js --coverage --node-resolve --playwright --browsers chromium firefox webkit --update-visual-baseline\n",
106106
"build": "rimraf dist && rollup -c rollup.config.js",
107107
"build:vendor": "node tasks/prepare.js",
108108
"build:models": "node demo/model.js",

0 commit comments

Comments
 (0)