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

Function replayTestProgressFailureFileLine

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

Source from the content-addressed store, hash-verified

169}
170
171function replayTestProgressFailureFileLine(event: ReplayTestResult): string | undefined {
172 return event.status === 'fail' && event.title?.trim()
173 ? ` file: ${path.basename(event.file)}`
174 : undefined;
175}
176
177function replayTestProgressMessageLine(event: ReplayTestResult): string | undefined {
178 const message = event.message?.replace(/\s+/g, ' ').trim();

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected