Skip to content

Commit ae6fee0

Browse files
authored
Update packages/core/src/test/globalSetup.test.ts
1 parent 37f07ef commit ae6fee0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/src/test/globalSetup.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ let openExternalStub: sinon.SinonStub<Parameters<(typeof vscode)['env']['openExt
4242
export async function mochaGlobalSetup(extensionId: string) {
4343
return async function (this: Mocha.Runner) {
4444
// Clean up and set up test logs
45-
// Use nodefs over our fs since globals may not be initialized yet and our fs checks isWeb via globals.
45+
// Use nodefs instead of our fs module (which uses globals.isWeb, which is not initialized yet).
4646
await nodefs.rm(testLogOutput, { force: true })
4747
await nodefs.mkdir(testReportDir, { recursive: true })
4848

0 commit comments

Comments
 (0)