()
| 49 | ); |
| 50 | |
| 51 | async function cleanupLogAndCheckpointFiles() { |
| 52 | try { |
| 53 | await fs.rm(TEST_ANUS_DIR, { recursive: true, force: true }); |
| 54 | } catch (_error) { |
| 55 | // Ignore errors, as the directory may not exist, which is fine. |
| 56 | } |
| 57 | } |
| 58 | |
| 59 | async function readLogFile(): Promise<LogEntry[]> { |
| 60 | try { |