MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / timeoutOf

Function timeoutOf

__tests__/subprocess-timeouts.test.ts:25–29  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

23import { isGitRepo } from '../src/sync/git-hooks';
24
25const timeoutOf = (): unknown => {
26 const call = vi.mocked(execFileSync).mock.calls.at(-1);
27 expect(call).toBeDefined();
28 return (call![2] as { timeout?: unknown }).timeout;
29};
30
31describe('git subprocess calls pass a timeout (#1139)', () => {
32 beforeEach(() => {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected