From 0c713d3ebb0e44935c75b0c4c2c168317e16bfff Mon Sep 17 00:00:00 2001 From: "Yuichiro Tachibana (Tsuchiya)" Date: Fri, 8 Sep 2023 14:30:43 +0900 Subject: [PATCH] Revert "Fix the test:web command to remove the `*` activation point from `package.json` before starting the tests, following the advice at https://github.com/microsoft/vscode-test-web/issues/96#issuecomment-1702658443" This reverts commit 1825dea7f2853caeca14d5ff6042e5e42257ecc9. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index a183596860..d219aa7853 100644 --- a/package.json +++ b/package.json @@ -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",