Check git version before attempting to disable sparse-checkout`

This commit is contained in:
John Wesley Walker III 2024-03-12 15:22:04 +00:00
parent 8410ad0602
commit 5fd05b69b4
6 changed files with 76 additions and 27 deletions

View file

@ -796,7 +796,8 @@ async function setup(testName: string): Promise<void> {
),
tryDisableAutomaticGarbageCollection: jest.fn(),
tryGetFetchUrl: jest.fn(),
tryReset: jest.fn()
tryReset: jest.fn(),
version: jest.fn()
}
settings = {