This commit is contained in:
Martijn Hols 2020-12-02 18:08:01 +01:00
parent b917253c33
commit 4584a7f935

View file

@ -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(() => {