()
| 57 | } |
| 58 | |
| 59 | function makeCtx(): CommandContext { |
| 60 | return { |
| 61 | configDir: "/mock/config", |
| 62 | apiBaseUrl: "https://app.qawolf.com", |
| 63 | outputMode: "human", |
| 64 | isInteractive: false, |
| 65 | signals: noopSignals, |
| 66 | fs: makeMemoryFs(), |
| 67 | log: () => makeNoopLogger(), |
| 68 | ui: { ...makeFakeUI("human"), info: uiInfoMock }, |
| 69 | } as unknown as CommandContext; |
| 70 | } |
| 71 | |
| 72 | beforeEach(() => { |
| 73 | for (const m of trackedMocks) m.mockClear(); |
no test coverage detected