(prefix = 'claude-test-')
| 3 | import { dirname, join } from 'node:path' |
| 4 | |
| 5 | export async function createTempDir(prefix = 'claude-test-'): Promise<string> { |
| 6 | return mkdtemp(join(tmpdir(), prefix)) |
| 7 | } |
| 8 | |
| 9 | export async function cleanupTempDir(dir: string): Promise<void> { |
| 10 | await rm(dir, { recursive: true, force: true }) |
no outgoing calls
no test coverage detected