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

Function replayTestProgressMessageLine

src/replay/test/progress.ts:177–181  ·  view source on GitHub ↗
(event: ReplayTestResult)

Source from the content-addressed store, hash-verified

175}
176
177function replayTestProgressMessageLine(event: ReplayTestResult): string | undefined {
178 const message = event.message?.replace(/\s+/g, ' ').trim();
179 if (!message) return undefined;
180 return ` ${event.status === 'fail' ? `failed at: ${message}` : message}`;
181}
182
183function appendReplayTestProgressHintLine(lines: string[], event: ReplayTestResult): void {
184 const hint = event.hint?.replace(/\s+/g, ' ').trim();

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected