mirror of
https://github.com/actions/cache.git
synced 2025-04-23 14:30:49 +00:00
Fix test
This commit is contained in:
parent
b917253c33
commit
4584a7f935
1 changed files with 7 additions and 0 deletions
|
@ -27,6 +27,13 @@ beforeAll(() => {
|
|||
return actualUtils.getInputAsArray(name, options);
|
||||
}
|
||||
);
|
||||
|
||||
jest.spyOn(actionUtils, "getInputAsBoolean").mockImplementation(
|
||||
(name, options) => {
|
||||
const actualUtils = jest.requireActual("../src/utils/actionUtils");
|
||||
return actualUtils.getInputAsBoolean(name, options);
|
||||
}
|
||||
);
|
||||
});
|
||||
|
||||
beforeEach(() => {
|
||||
|
|
Loading…
Add table
Reference in a new issue