MCPcopy
hub / github.com/vitest-dev/vitest / clearTmpDir

Method clearTmpDir

packages/vitest/src/node/project.ts:679–684  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

677 }
678
679 private async clearTmpDir(): Promise<void> {
680 try {
681 await rm(this.tmpDir, { recursive: true })
682 }
683 catch {}
684 }
685
686 /** @internal */
687 _initBrowserProvider = deduped(async (): Promise<void> => {

Callers 1

closeMethod · 0.95

Calls 1

rmFunction · 0.50

Tested by

no test coverage detected