(lines: string[], event: ReplayTestResult)
| 181 | } |
| 182 | |
| 183 | function appendReplayTestProgressHintLine(lines: string[], event: ReplayTestResult): void { |
| 184 | const hint = event.hint?.replace(/\s+/g, ' ').trim(); |
| 185 | if (event.status === 'fail' && hint) lines.push(` hint: ${hint}`); |
| 186 | } |
| 187 | |
| 188 | function replayTestProgressFailureContextLines(event: ReplayTestResult): string[] { |
| 189 | if (event.status !== 'fail' || event.retrying) return []; |
no test coverage detected