(argv: string[])
| 4 | import { runCliCapture, type CapturedCliRun } from './cli-capture.ts'; |
| 5 | |
| 6 | function runCliWithDaemonStartupFailure(argv: string[]): Promise<CapturedCliRun> { |
| 7 | return runCliCapture(argv, async () => { |
| 8 | throw new AppError('COMMAND_FAILED', 'Failed to start daemon', { |
| 9 | infoPath: '/tmp/daemon.json', |
| 10 | hint: 'stale daemon info', |
| 11 | }); |
| 12 | }); |
| 13 | } |
| 14 | |
| 15 | async function runCliCaptureWithErrorDetails( |
| 16 | argv: string[], |
no test coverage detected