Skip to content

Commit 6c5aca7

Browse files
authored
Disable telemetry and other services when running tests (#1123)
Issue: #1122
1 parent c1d4b8a commit 6c5aca7

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.vscode-test.js

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,12 @@ module.exports = defineConfig({
3030
files: ["out/test/common.js", "out/test/integration-tests/**/*.test.js"],
3131
version: process.env["VSCODE_VERSION"] ?? "stable",
3232
workspaceFolder: "./assets/test",
33+
launchArgs: [
34+
"--disable-updates",
35+
"--disable-crash-reporter",
36+
"--disable-workspace-trust",
37+
"--disable-telemetry"
38+
],
3339
mocha: {
3440
ui: "tdd",
3541
color: true,
@@ -46,6 +52,13 @@ module.exports = defineConfig({
4652
label: "unitTests",
4753
files: ["out/test/common.js", "out/test/unit-tests/**/*.test.js"],
4854
version: process.env["VSCODE_VERSION"] ?? "stable",
55+
launchArgs: [
56+
"--disable-extensions",
57+
"--disable-updates",
58+
"--disable-crash-reporter",
59+
"--disable-workspace-trust",
60+
"--disable-telemetry"
61+
],
4962
mocha: {
5063
ui: "tdd",
5164
color: true,

0 commit comments

Comments
 (0)