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

Function formatReplayTestProgressName

src/replay/test/progress.ts:206–210  ·  view source on GitHub ↗
(event: ReplayTestResult | ReplayTestStep)

Source from the content-addressed store, hash-verified

204}
205
206function formatReplayTestProgressName(event: ReplayTestResult | ReplayTestStep): string {
207 const title = event.title?.trim();
208 const file = path.basename(event.file);
209 return title ? title : file;
210}
211
212function formatReplayTestProgressStatusLabel(event: ReplayTestResult): string {
213 if (event.status === 'pass') {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…