mirror of
https://gitea.com/actions/cache.git
synced 2025-08-13 07:16:03 +08:00
Fixed review comments and tests
This commit is contained in:
@@ -15,6 +15,10 @@ beforeAll(() => {
|
||||
return jest.requireActual("@actions/core").getInput(name, options);
|
||||
});
|
||||
|
||||
jest.spyOn(core, "setOutput").mockImplementation((key, value) => {
|
||||
return jest.requireActual("@actions/core").getInput(key, value);
|
||||
});
|
||||
|
||||
jest.spyOn(actionUtils, "getInputAsArray").mockImplementation(
|
||||
(name, options) => {
|
||||
return jest
|
||||
|
Reference in New Issue
Block a user