MCPcopy
hub / github.com/qawolf/cli / makeCtx

Function makeCtx

src/commands/flows/hybridRun.test.ts:56–69  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

54});
55
56function makeCtx(): AuthCommandContext {
57 return {
58 configDir: "/mock/config",
59 apiBaseUrl: "https://app.qawolf.com",
60 outputMode: "human",
61 isInteractive: false,
62 apiKeySource: "env",
63 platform: {} as unknown,
64 fs: makeMemoryFs(),
65 signals: makeNoopSignals(),
66 ui: makeFakeUI("human"),
67 log: () => makeNoopLogger(),
68 } as unknown as AuthCommandContext;
69}
70
71function defaultFlags(): FlowsRunFlags {
72 return {

Callers 1

hybridRun.test.tsFile · 0.70

Calls 4

makeMemoryFsFunction · 0.85
makeNoopSignalsFunction · 0.85
makeFakeUIFunction · 0.85
makeNoopLoggerFunction · 0.85

Tested by

no test coverage detected