Skip to content

Commit eb479bb

Browse files
committed
VS Code: prevent installed extensions from breaking tests
On my machine, some Visual Studio Code extension I have installed is causing tests to hang. Disable installed extensions to avoid potential conflicts, fixing the hangs on my my machine. I think this commit should have no effect for fresh VS Code installations.
1 parent 51420c3 commit eb479bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugin/vscode/test/run-vscode-tests.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ async function mainAsync() {
1919
extensionDevelopmentPath: path.resolve(__dirname, ".."),
2020
extensionTestsPath: path.resolve(__dirname, "vscode-tests.js"),
2121
version: "1.49.0",
22-
launchArgs: [workspacePath],
22+
launchArgs: ["--disable-extensions", workspacePath],
2323
extensionTestsEnv: {
2424
[testFilterEnvironmentVariable]: process.argv[2],
2525
// HACK(strager): Silence lots of log noise generated by VS Code.

0 commit comments

Comments
 (0)