MCPcopy Index your code
hub / github.com/jetify-com/devbox / main

Function main

vscode-extension/src/test/runTest.ts:5–21  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3import { runTests } from '@vscode/test-electron';
4
5async function main() {
6 try {
7 // The folder containing the Extension Manifest package.json
8 // Passed to `--extensionDevelopmentPath`
9 const extensionDevelopmentPath = path.resolve(__dirname, '../../');
10
11 // The path to test runner
12 // Passed to --extensionTestsPath
13 const extensionTestsPath = path.resolve(__dirname, './suite/index');
14
15 // Download VS Code, unzip it and run the integration test
16 await runTests({ extensionDevelopmentPath, extensionTestsPath });
17 } catch (err) {
18 console.error('Failed to run tests');
19 process.exit(1);
20 }
21}
22
23main();

Callers 1

runTest.tsFile · 0.70

Calls 1

errorMethod · 0.80

Tested by

no test coverage detected