-
-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Verifies that input parameters are correctly parsed
Since jest doesn't support argument constraints on stubs (see jestjs/jest#6180), we use the 'jest-when' library to fake that certain input arguments are passed to the action by specifying that the 'core.getInput' function should return certain values when invoked with specific parameter names.
- Loading branch information
1 parent
70405df
commit 812cb42
Showing
1 changed file
with
3 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters