Fixed test cases

This commit is contained in:
Sankalp Kotewar authored and GitHub committed 2023-01-03 10:22:38 +00:00
1 parent 5b7eeecaeb
commit 667e98af5a
7 files changed
+47 -13

No files matched your search

+4
View File
@@ -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