8000 disable extensions during tests · jordanliu/coderoad-vscode@a9730d0 · GitHub
[go: up one dir, main page]

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit a9730d0

Browse files
committed
disable extensions during tests
1 parent 31e084a commit a9730d0

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/test/runTest.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,14 @@ async function main() {
1212
// Passed to --extensionTestsPath
1313
const extensionTestsPath: string = path.resolve(__dirname, './suite/index')
1414

15+
const config = {
16+
extensionDevelopmentPath,
17+
extensionTestsPath,
18+
launchArgs: ['--disable-extensions'] // turn off other extensions
19+
}
20+
1521
// Download VS Code, unzip it and run the integration test
16-
await runTests({extensionDevelopmentPath, extensionTestsPath})
22+
await runTests(config)
1723
.catch((err: Error) => {
1824
console.error('Failed to run tests')
1925
console.error(err)

0 commit comments

Comments
 (0)
0