()
| 153 | } |
| 154 | |
| 155 | function createMutableState(): MutableRecorderState { |
| 156 | return { |
| 157 | batches: [], |
| 158 | capturedBatches: 0, |
| 159 | capturedEvents: 0, |
| 160 | capturedBytes: 0, |
| 161 | omittedBatches: 0, |
| 162 | omittedEvents: 0, |
| 163 | omittedBytes: 0, |
| 164 | runtimeDroppedBatches: 0, |
| 165 | truncated: false, |
| 166 | truncationReason: null, |
| 167 | firstOmittedStep: null, |
| 168 | baseTimeMs: null, |
| 169 | lastCapturedTimeMs: null, |
| 170 | }; |
| 171 | } |
| 172 | |
| 173 | function buildEventCaptureSnapshot( |
| 174 | state: MutableRecorderState, |
no outgoing calls
no test coverage detected