()
| 7 | |
| 8 | const dirs: string[] = []; |
| 9 | async function tmpDir(): Promise<string> { |
| 10 | const d = await fs.mkdtemp(path.join(os.tmpdir(), 'qx-live-')); |
| 11 | dirs.push(d); |
| 12 | return d; |
| 13 | } |
| 14 | // A plain filesystem WriteFn (the live test doesn't need the journaled transaction). |
| 15 | const write: WriteFn = async (abs, content) => { |
| 16 | await fs.mkdir(path.dirname(abs), { recursive: true }); |
no test coverage detected