mirror of
https://github.com/actions/checkout.git
synced 2025-04-20 09:36:45 +00:00
clean-submodules
This commit is contained in:
parent
fc0a6fcb57
commit
1f1d74371e
7 changed files with 41 additions and 13 deletions
|
@ -801,6 +801,7 @@ async function setup(testName: string): Promise<void> {
|
|||
settings = {
|
||||
authToken: 'some auth token',
|
||||
clean: true,
|
||||
cleanSubmodules: true,
|
||||
commit: '',
|
||||
filter: undefined,
|
||||
sparseCheckout: [],
|
||||
|
|
|
@ -77,6 +77,7 @@ describe('input-helper tests', () => {
|
|||
expect(settings).toBeTruthy()
|
||||
expect(settings.authToken).toBeFalsy()
|
||||
expect(settings.clean).toBe(true)
|
||||
expect(settings.cleanSubmodules).toBe(true)
|
||||
expect(settings.commit).toBeTruthy()
|
||||
expect(settings.commit).toBe('1234567890123456789012345678901234567890')
|
||||
expect(settings.filter).toBe(undefined)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue