mirror of
https://code.forgejo.org/actions/checkout.git
synced 2025-04-21 09:10:16 +03:00
Add mock implementation for new function submoduleStatus
This commit is contained in:
parent
39cfb844ff
commit
d12863bffd
5 changed files with 10 additions and 0 deletions
|
@ -423,6 +423,9 @@ async function setup(testName: string): Promise<void> {
|
|||
submoduleForeach: jest.fn(),
|
||||
submoduleSync: jest.fn(),
|
||||
submoduleUpdate: jest.fn(),
|
||||
submoduleStatus: jest.fn(async () => {
|
||||
return true
|
||||
}),
|
||||
tagExists: jest.fn(),
|
||||
tryClean: jest.fn(async () => {
|
||||
return true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue