(sessionDir: string, fileName: string, body: unknown)
| 12 | } from '../../src/lib/task-store'; |
| 13 | |
| 14 | async function writeTask(sessionDir: string, fileName: string, body: unknown): Promise<void> { |
| 15 | const dir = join(sessionDir, 'tasks'); |
| 16 | await mkdir(dir, { recursive: true }); |
| 17 | await writeFile(join(dir, fileName), JSON.stringify(body)); |
| 18 | } |
| 19 | |
| 20 | describe('task-store', () => { |
| 21 | let cleanup: (() => Promise<void>) | null = null; |
no test coverage detected