Fix tests from jest-when version bump (#311)

* Fix tests from jest-when version bump
* Delete unused test helpers
* Add workflow_dispatch for tests
This commit is contained in:
Tom Proctor
2022-04-28 11:12:56 +01:00
committed by GitHub
parent 25737aea2b
commit 8e9712e63b
6 changed files with 40 additions and 51 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ const {
function mockInput(name, key) {
when(core.getInput)
.calledWith(name)
.calledWith(name, expect.anything())
.mockReturnValueOnce(key);
}