()
| 32 | const tempHomes: string[] = []; |
| 33 | |
| 34 | const makeHome = (): string => { |
| 35 | const home = mkdtempSync(join(tmpdir(), "codex-home-")); |
| 36 | tempHomes.push(home); |
| 37 | return home; |
| 38 | }; |
| 39 | |
| 40 | afterEach(() => { |
| 41 | for (const home of tempHomes.splice(0)) rmSync(home, { recursive: true, force: true }); |
no test coverage detected