(fn: CommandInterceptor | null)
| 20 | |
| 21 | /** @internal Install a command interceptor for testing. Returns a cleanup function. */ |
| 22 | export function _setInterceptor(fn: CommandInterceptor | null): void { |
| 23 | _interceptor = fn; |
| 24 | } |
| 25 | |
| 26 | function checkIntercept(args: string[], opts?: { cwd?: string; input?: string }) { |
| 27 | if (!_interceptor) return null; |
no outgoing calls
no test coverage detected
searching dependent graphs…