()
| 23 | import { isGitRepo } from '../src/sync/git-hooks'; |
| 24 | |
| 25 | const 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 | |
| 31 | describe('git subprocess calls pass a timeout (#1139)', () => { |
| 32 | beforeEach(() => { |
no outgoing calls
no test coverage detected