(event: ReplayTestResult)
| 194 | } |
| 195 | |
| 196 | function formatReplayTestCaseSummaryLine(event: ReplayTestResult): string { |
| 197 | const useColor = supportsColor(process.stderr); |
| 198 | const statusLabel = formatReplayTestProgressStatusLabel(event); |
| 199 | const name = formatReplayTestProgressName(event); |
| 200 | const shardSuffix = formatReplayTestProgressShardSuffix(event, { useColor }); |
| 201 | const durationSuffix = |
| 202 | event.durationMs !== undefined ? ` ${formatReplayProgressDuration(event, { useColor })}` : ''; |
| 203 | return `${statusLabel} ${name}${shardSuffix}${durationSuffix}`; |
| 204 | } |
| 205 | |
| 206 | function formatReplayTestProgressName(event: ReplayTestResult | ReplayTestStep): string { |
| 207 | const title = event.title?.trim(); |
no test coverage detected