diff options
| author | John Wesley Walker III <81404201+jww3@users.noreply.github.com> | 2024-03-14 15:40:14 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-14 15:40:14 +0100 |
| commit | 5cbfe54ddccb7aa81f873dab834f0c6d84fe3682 (patch) | |
| tree | c25bbf42699fa3b2baa259cb026c57e3e2be442f /__test__/git-directory-helper.test.ts | |
| parent | 62281a3e750ec592980ab9c7a8572a18e9a13638 (diff) | |
Check git version before attempting to disable `sparse-checkout` (#1656)
* Check git version before attempting to disable `sparse-checkout`
* Bump `MinimumGitSparseCheckoutVersion` to 2.28 due to #1386
* Initial prep for release 4.1.3
Diffstat (limited to '__test__/git-directory-helper.test.ts')
| -rw-r--r-- | __test__/git-directory-helper.test.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/__test__/git-directory-helper.test.ts b/__test__/git-directory-helper.test.ts index 79e0538..22e9ae6 100644 --- a/__test__/git-directory-helper.test.ts +++ b/__test__/git-directory-helper.test.ts @@ -501,6 +501,7 @@ async function setup(testName: string): Promise<void> { }), tryReset: jest.fn(async () => { return true - }) + }), + version: jest.fn() } } |
