()
| 125 | } |
| 126 | |
| 127 | function latestGenerationRuns() { |
| 128 | const runs = latestSnapshotState().runs |
| 129 | if (!Array.isArray(runs)) { |
| 130 | throw new Error('Expected generation snapshot runs') |
| 131 | } |
| 132 | return runs |
| 133 | } |
| 134 | |
| 135 | function isSnapshotStatePayload( |
| 136 | value: unknown, |
no test coverage detected