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 37f07ef commit ae6fee0Copy full SHA for ae6fee0
packages/core/src/test/globalSetup.test.ts
@@ -42,7 +42,7 @@ let openExternalStub: sinon.SinonStub<Parameters<(typeof vscode)['env']['openExt
42
export async function mochaGlobalSetup(extensionId: string) {
43
return async function (this: Mocha.Runner) {
44
// 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.
+ // Use nodefs instead of our fs module (which uses globals.isWeb, which is not initialized yet).
46
await nodefs.rm(testLogOutput, { force: true })
47
await nodefs.mkdir(testReportDir, { recursive: true })
48
0 commit comments