mirror of
https://kkgithub.com/actions/cache.git
synced 2025-11-03 12:11:49 +08:00
Fixed test cases
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user