()
| 7 | const tempDirs: string[] = [] |
| 8 | |
| 9 | async function makeVault(): Promise<string> { |
| 10 | const dir = await mkdtemp(path.join(os.tmpdir(), 'zen-amig-')) |
| 11 | tempDirs.push(dir) |
| 12 | return dir |
| 13 | } |
| 14 | |
| 15 | afterEach(async () => { |
| 16 | await Promise.all(tempDirs.splice(0).map((d) => rm(d, { recursive: true, force: true }))) |
no outgoing calls
no test coverage detected