Skip to content

Commit 9ef7e05

Browse files
eleanorjboydCopilot
andcommitted
Fix single-workspace test runner hang
Remove the legacy source-map-support hook that crashes while Mocha formats failures, preventing the CI exit reporter from notifying the bootstrap process. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent f049ddc commit 9ef7e05

2 files changed

Lines changed: 0 additions & 6 deletions

File tree

src/test/index.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -124,9 +124,6 @@ export async function run(): Promise<void> {
124124
const mocha = new Mocha.default(options);
125125
const testsRoot = path.join(__dirname);
126126

127-
// Enable source map support.
128-
require('source-map-support').install();
129-
130127
// Ignore `ds.test.js` test files when running other tests.
131128
const ignoreGlob = options.testFilesSuffix.toLowerCase() === 'ds.test' ? [] : ['**/**.ds.test.js'];
132129
const testFiles = await new Promise<string[]>((resolve, reject) => {

src/test/testRunner.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,6 @@ export function configure(setupOptions: SetupOptions): void {
4545

4646
export async function run(): Promise<void> {
4747
const testsRoot = path.join(__dirname);
48-
// Enable source map support.
49-
require('source-map-support').install();
50-
5148
/**
5249
* Waits until the Python Extension completes loading or a timeout.
5350
* When running tests within VSC, we need to wait for the Python Extension to complete loading,

0 commit comments

Comments
 (0)