()
| 19 | ) => Promise<HookResult>; |
| 20 | |
| 21 | async function importRunHook(): Promise<RunHook> { |
| 22 | const mod = (await import(RUNNER_MODULE)) as { runHook: RunHook }; |
| 23 | return mod.runHook; |
| 24 | } |
| 25 | |
| 26 | describe('runHook process runner', () => { |
| 27 | it('returns allow when the hook exits 0 and captures stdout', async () => { |