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

Function replayTestProgressShardDeviceName

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

Source from the content-addressed store, hash-verified

234}
235
236function replayTestProgressShardDeviceName(
237 event: ReplayTestResult | ReplayTestStep,
238): string | undefined {
239 const name = event.deviceName?.trim();
240 if (name) return name;
241 const id = event.deviceId?.trim();
242 return id || undefined;
243}
244
245function formatReplayProgressDuration(
246 event: ReplayTestResult,

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected