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

Function formatReplayTestProgressEvent

src/replay/test/progress.ts:84–95  ·  view source on GitHub ↗
(
  event: ReplayTestResult,
  options: ReplayTestProgressFormatOptions = {},
)

Source from the content-addressed store, hash-verified

82}
83
84function formatReplayTestProgressEvent(
85 event: ReplayTestResult,
86 options: ReplayTestProgressFormatOptions = {},
87): string | undefined {
88 if (event.status === 'fail' && event.retrying) return undefined;
89 const lines = [formatReplayTestCaseSummaryLine(event)];
90 addReplayTestCaseDetailLines(lines, event, options);
91 if (options.verbose) {
92 lines.push(...replayTestProgressStepLines(event));
93 }
94 return lines.join('\n');
95}
96
97function formatReplayTestLiveProgressLine(
98 event: ReplayTestStep,

Callers 1

renderFunction · 0.85

Calls 4

pushMethod · 0.80

Tested by

no test coverage detected