Skip to content

Commit

Permalink
Fix the test:web command to remove the * activation point from `pac…
Browse files Browse the repository at this point in the history
…kage.json` before starting the tests, following the advice at microsoft/vscode-test-web#96 (comment)
  • Loading branch information
whitphx committed Sep 1, 2023

Verified

This commit was signed with the committer’s verified signature.
GuySartorelli Guy Sartorelli
1 parent 8b17c3f commit 1825dea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -5110,7 +5110,7 @@
"check:eslint": "eslint src --ext ts",
"pretest": "yarn run test-compile",
"test": "node ./out/test/runTest.js",
"test:web": "vscode-test-web --browserType=chromium --extensionDevelopmentPath=. --extensionTestsPath=dist/web/test/suite/index.js --permission clipboard-read --permission clipboard-write",
"test:web": "mv package.json package.json.bk && jq '.activationEvents = []' package.json.bk > package.json && vscode-test-web --browserType=chromium --extensionDevelopmentPath=. --extensionTestsPath=dist/web/test/suite/index.js --permission clipboard-read --permission clipboard-write && mv package.json.bk package.json",
"pretest:web": "yarn run compile-web",
"compile-web": "webpack --config ./build/web-extension.webpack.config.js",
"watch-web": "webpack --watch --config ./build/web-extension.webpack.config.js",

0 comments on commit 1825dea

Please sign in to comment.