We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 13c5950 commit b67e9b3Copy full SHA for b67e9b3
1 file changed
.vscode-test.cjs
@@ -5,6 +5,9 @@ const baseConfig = /** @type {Parameters<typeof defineConfig>[0]} */ ({
5
version: process.env.VSCODE_VERSION ?? 'stable',
6
mocha: {
7
timeout: 30_000,
8
+ // If the test file is ESM, importing 'vscode' can cause a deadlock.
9
+ // ref: https://github.com/microsoft/vscode-test-cli/issues/77#issuecomment-3696907905
10
+ // Therefore, we transpile with tsx to CJS before executing.
11
require: ['tsx/cjs', './scripts/vscode-test-setup.ts'],
12
},
13
download: {
0 commit comments