( event: ReplayTestResult | ReplayTestStep, )
| 234 | } |
| 235 | |
| 236 | function replayTestProgressShardDeviceName( |
| 237 | event: ReplayTestResult | ReplayTestStep, |
| 238 | ): string | undefined { |
| 239 | const name = event.deviceName?.trim(); |
| 240 | if (name) return name; |
| 241 | const id = event.deviceId?.trim(); |
| 242 | return id || undefined; |
| 243 | } |
| 244 | |
| 245 | function formatReplayProgressDuration( |
| 246 | event: ReplayTestResult, |
no outgoing calls
no test coverage detected