Skip to content

Commit 8f23d8a

Browse files
committed
remove temp dir each test
1 parent 44aa977 commit 8f23d8a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,8 @@ export const mochaHooks = {
101101
globals.telemetry.clearRecords()
102102
globals.telemetry.logger.clear()
103103
TelemetryDebounceInfo.instance.clear()
104+
await fs.delete(globals.context.globalStorageUri.fsPath, { recursive: true, force: true })
105+
104106
// mochaGlobalSetup() set this to a fake, so it's safe to clear it here.
105107
await globals.globalState.clear()
106108

0 commit comments

Comments
 (0)