MCPcopy
hub / github.com/cloudflare/vibesdk / createTempDataDir

Function createTempDataDir

container/monitor-cli.test.ts:236–240  ·  view source on GitHub ↗

* Create a temporary data directory for tests

()

Source from the content-addressed store, hash-verified

234 * Create a temporary data directory for tests
235 */
236async function createTempDataDir(): Promise<string> {
237 const dir = join(process.cwd(), '.test-data', randomUUID());
238 await fs.mkdir(dir, { recursive: true });
239 return dir;
240}
241
242/**
243 * Clean up temporary directory

Callers 1

Calls 1

mkdirMethod · 0.45

Tested by

no test coverage detected