Skip to content

Commit

Permalink
Revert "Fix the test:web command to remove the * activation point f…
Browse files Browse the repository at this point in the history
…rom `package.json` before starting the tests, following the advice at microsoft/vscode-test-web#96 (comment)"

This reverts commit 1825dea.
  • Loading branch information
whitphx committed Sep 8, 2023
1 parent 1825dea commit 0c713d3
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
Expand Up @@ -5110,7 +5110,7 @@
"check:eslint": "eslint src --ext ts",
"pretest": "yarn run test-compile",
"test": "node ./out/test/runTest.js",
"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",
"test:web": "vscode-test-web --browserType=chromium --extensionDevelopmentPath=. --extensionTestsPath=dist/web/test/suite/index.js --permission clipboard-read --permission clipboard-write",
"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",
Expand Down

0 comments on commit 0c713d3

Please sign in to comment.