mirror of
https://github.com/actions/checkout.git
synced 2025-12-13 16:31:35 +08:00
feat: updated test for sparse-checkout
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user