| 39 | |
| 40 | vi.mock('@/modules/common/launcher/BaseLocalLauncher', () => ({ |
| 41 | BaseLocalLauncher: class { |
| 42 | readonly control = { |
| 43 | requestExit: () => {} |
| 44 | }; |
| 45 | |
| 46 | constructor(private readonly opts: { launch: (signal: AbortSignal) => Promise<void> }) {} |
| 47 | |
| 48 | async run(): Promise<'exit'> { |
| 49 | await this.opts.launch(new AbortController().signal); |
| 50 | if (harness.runBarrier) { |
| 51 | await harness.runBarrier; |
| 52 | } |
| 53 | return 'exit'; |
| 54 | } |
| 55 | } |
| 56 | })); |
| 57 | |
| 58 | import { codexLocalLauncher } from './codexLocalLauncher'; |
nothing calls this directly
no outgoing calls
no test coverage detected