(value: unknown)
| 129 | } |
| 130 | |
| 131 | function readSnapshotTimingStats(value: unknown): SnapshotTimingStats | undefined { |
| 132 | if (!isRecord(value)) return undefined; |
| 133 | const required = readRequiredSnapshotTimingStats(value); |
| 134 | if (!required) return undefined; |
| 135 | return { |
| 136 | ...required, |
| 137 | ...readOptionalSnapshotTimingStats(value), |
| 138 | }; |
| 139 | } |
| 140 | |
| 141 | function readRequiredSnapshotTimingStats( |
| 142 | record: Record<string, unknown>, |
no test coverage detected