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

Function createReplayTestReporterContext

src/replay/test/reporting.ts:73–83  ·  view source on GitHub ↗
(options: {
  debug?: boolean;
  verbose?: boolean;
})

Source from the content-addressed store, hash-verified

71}
72
73function createReplayTestReporterContext(options: {
74 debug?: boolean;
75 verbose?: boolean;
76}): ReplayTestReporterContext {
77 return {
78 debug: options.debug,
79 verbose: options.verbose ?? options.debug,
80 stdout: createReplayTestReporterStream(process.stdout),
81 stderr: createReplayTestReporterStream(process.stderr),
82 };
83}
84
85function createReplayTestReporterStream(stream: ReporterWritableStream): ReplayTestReporterStream {
86 return {

Callers 1

Calls 1

Tested by

no test coverage detected