Add support for sparse checkouts

This commit is contained in:
Daniel 2023-05-02 19:39:43 +02:00 committed by Johannes Schindelin
parent f095bcc56b
commit 9f59c817cf
12 changed files with 188 additions and 13 deletions

View file

@ -727,6 +727,7 @@ async function setup(testName: string): Promise<void> {
branchDelete: jest.fn(),
branchExists: jest.fn(),
branchList: jest.fn(),
sparseCheckout: jest.fn(),
checkout: jest.fn(),
checkoutDetach: jest.fn(),
config: jest.fn(
@ -800,6 +801,7 @@ async function setup(testName: string): Promise<void> {
authToken: 'some auth token',
clean: true,
commit: '',
sparseCheckout: [],
fetchDepth: 1,
lfs: false,
submodules: false,