1
Fork 0
mirror of https://gitea.com/actions/checkout.git synced 2024-11-26 10:35:57 +01:00

Fix unimplemented methods

This commit is contained in:
Laura Bailey 2022-02-22 16:55:33 +11:00
parent dde2556f7a
commit 390521655e
2 changed files with 4 additions and 0 deletions

View file

@ -733,6 +733,8 @@ async function setup(testName: string): Promise<void> {
}),
submoduleSync: jest.fn(),
submoduleUpdate: jest.fn(),
submoduleReset: jest.fn(),
submoduleClean: jest.fn(),
tagExists: jest.fn(),
tryClean: jest.fn(),
tryConfigUnset: jest.fn(

View file

@ -423,6 +423,8 @@ async function setup(testName: string): Promise<void> {
submoduleForeach: jest.fn(),
submoduleSync: jest.fn(),
submoduleUpdate: jest.fn(),
submoduleReset: jest.fn(),
submoduleClean: jest.fn(),
tagExists: jest.fn(),
tryClean: jest.fn(async () => {
return true