mirror of
https://code.forgejo.org/actions/cache.git
synced 2025-05-19 14:24:45 +00:00
Fixed test cases
This commit is contained in:
parent
5b7eeecaeb
commit
667e98af5a
7 changed files with 47 additions and 13 deletions
|
@ -15,6 +15,10 @@ beforeAll(() => {
|
|||
return testUtils.getInput(name);
|
||||
});
|
||||
|
||||
jest.spyOn(core, "getState").mockImplementation(name => {
|
||||
return jest.requireActual("@actions/core").getState(name);
|
||||
});
|
||||
|
||||
jest.spyOn(actionUtils, "getInputAsArray").mockImplementation(
|
||||
(name, options) => {
|
||||
return jest
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue