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

Function createReplayTestReporterRuntime

src/replay/test/reporting.ts:48–71  ·  view source on GitHub ↗
(options: {
  debug?: boolean;
  verbose?: boolean;
  reporter?: string[];
  reportJunit?: string;
  json?: boolean;
})

Source from the content-addressed store, hash-verified

46}
47
48export async function createReplayTestReporterRuntime(options: {
49 debug?: boolean;
50 verbose?: boolean;
51 reporter?: string[];
52 reportJunit?: string;
53 json?: boolean;
54}): Promise<ReplayTestReporterRuntime> {
55 const reporters = await resolveReplayTestReporters({
56 reporters: options.reporter,
57 reportJunit: options.reportJunit,
58 json: options.json,
59 });
60 const context = createReplayTestReporterContext({
61 debug: options.debug,
62 verbose: options.verbose,
63 });
64 return {
65 reporters,
66 context,
67 onProgress(event) {
68 runReplayTestReporterProgress(reporters, event, context);
69 },
70 };
71}
72
73function createReplayTestReporterContext(options: {
74 debug?: boolean;

Callers 2

runCliFunction · 0.90
renderReplayTestResponseFunction · 0.85

Calls 2

Tested by

no test coverage detected