mirror of
https://github.com/actions/checkout.git
synced 2025-11-28 01:51:57 +02:00
Merge 6b8be4cb30 into c2d88d3ecc
This commit is contained in:
commit
ffdc08397c
8 changed files with 72 additions and 8 deletions
|
|
@ -1164,6 +1164,7 @@ async function setup(testName: string): Promise<void> {
|
|||
nestedSubmodules: false,
|
||||
persistCredentials: true,
|
||||
ref: 'refs/heads/main',
|
||||
defaultBranchCheckout: false,
|
||||
repositoryName: 'my-repo',
|
||||
repositoryOwner: 'my-org',
|
||||
repositoryPath: '',
|
||||
|
|
|
|||
|
|
@ -80,6 +80,7 @@ describe('input-helper tests', () => {
|
|||
expect(settings.commit).toBeTruthy()
|
||||
expect(settings.commit).toBe('1234567890123456789012345678901234567890')
|
||||
expect(settings.filter).toBe(undefined)
|
||||
expect(settings.defaultBranchCheckout).toBe(false)
|
||||
expect(settings.sparseCheckout).toBe(undefined)
|
||||
expect(settings.sparseCheckoutConeMode).toBe(true)
|
||||
expect(settings.fetchDepth).toBe(1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue