1
0
Fork 0
mirror of https://code.forgejo.org/actions/checkout.git synced 2025-04-27 06:19:54 +02:00

clean-submodules

This commit is contained in:
Hazel 2024-01-29 15:54:16 +00:00
parent fc0a6fcb57
commit 1f1d74371e
No known key found for this signature in database
GPG key ID: C7C5A3D1A085B70F
7 changed files with 41 additions and 13 deletions

View file

@ -801,6 +801,7 @@ async function setup(testName: string): Promise<void> {
settings = {
authToken: 'some auth token',
clean: true,
cleanSubmodules: true,
commit: '',
filter: undefined,
sparseCheckout: [],

View file

@ -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)