(sessionDir: string)
| 32 | } |
| 33 | |
| 34 | async function readSessionState(sessionDir: string): Promise<Record<string, unknown>> { |
| 35 | const raw = await readFile(join(sessionDir, 'state.json'), 'utf-8'); |
| 36 | return JSON.parse(raw) as Record<string, unknown>; |
| 37 | } |
| 38 | |
| 39 | function findRenamedEvent( |
| 40 | events: readonly Event[], |
no test coverage detected