Skip to content

Commit 593538a

Browse files
committed
clear dir inbetween each test
1 parent 02eed17 commit 593538a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ export const mochaHooks = {
103103
TelemetryDebounceInfo.instance.clear()
104104
// mochaGlobalSetup() set this to a fake, so it's safe to clear it here.
105105
await globals.globalState.clear()
106+
await fs.delete(globals.context.globalStorageUri.fsPath, { recursive: true, force: true })
106107

107108
await testUtil.closeAllEditors()
108109
},

0 commit comments

Comments
 (0)