MCPcopy Index your code
hub / github.com/callstack/agent-device / appendReplayTestProgressHintLine

Function appendReplayTestProgressHintLine

src/replay/test/progress.ts:183–186  ·  view source on GitHub ↗
(lines: string[], event: ReplayTestResult)

Source from the content-addressed store, hash-verified

181}
182
183function 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
188function replayTestProgressFailureContextLines(event: ReplayTestResult): string[] {
189 if (event.status !== 'fail' || event.retrying) return [];

Callers 1

Calls 1

pushMethod · 0.80

Tested by

no test coverage detected