Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commita9730d0

Browse files
committed
disable extensions during tests
1 parent31e084a commita9730d0

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
constextensionTestsPath:string=path.resolve(__dirname,'./suite/index')
1414

15+
constconfig={
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-
awaitrunTests({extensionDevelopmentPath, extensionTestsPath})
22+
awaitrunTests(config)
1723
.catch((err:Error)=>{
1824
console.error('Failed to run tests')
1925
console.error(err)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp