Skip to content

Commit 83dede4

Browse files
committed
fix test workspace usage for cli-based runs
1 parent 0a9c22f commit 83dede4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/test/runTest.ts

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

15+
const workspacePath = path.resolve('./src/test/test.code-workspace');
16+
1517
// Download VS Code, unzip it and run the integration test
16-
await runTests({ extensionDevelopmentPath, extensionTestsPath });
18+
await runTests({ extensionDevelopmentPath, extensionTestsPath, launchArgs: [workspacePath] });
1719
} catch (err) {
1820
console.error('Failed to run tests', err);
1921
process.exit(1);

0 commit comments

Comments
 (0)