()
| 17 | }; |
| 18 | |
| 19 | function fakeProcess(): KaosProcess { |
| 20 | return { |
| 21 | stdin: { end: vi.fn(), write: vi.fn() } as unknown as Writable, |
| 22 | stdout: Readable.from([]), |
| 23 | stderr: Readable.from([]), |
| 24 | pid: 401, |
| 25 | exitCode: 0, |
| 26 | wait: vi.fn(async () => 0), |
| 27 | kill: vi.fn(async () => {}), |
| 28 | dispose: vi.fn(async () => {}), |
| 29 | }; |
| 30 | } |
| 31 | |
| 32 | const signal = new AbortController().signal; |
| 33 |
no outgoing calls
no test coverage detected