Skip to content
This repository was archived by the owner on Nov 18, 2022. It is now read-only.

Commit 0813749

Browse files
committed
Properly catch failing tests in the harness
1 parent bc10be0 commit 0813749

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/runTest.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,9 @@ import { runTests } from 'vscode-test';
99
await runTests({
1010
extensionDevelopmentPath,
1111
extensionTestsPath,
12+
launchArgs: ['--disable-extensions'],
13+
}).catch(() => {
14+
console.error(`Test run failed`);
15+
process.exit(1);
1216
});
1317
})();

0 commit comments

Comments
 (0)