MCPcopy Create free account
hub / github.com/tiann/hapi /

Class

cli/src/codex/codexLocalLauncher.test.ts:41–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39
40vi.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
58import { codexLocalLauncher } from './codexLocalLauncher';

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected