-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[expect] Improve mock "return" matchers to properly handle calls that…
… throw (#6172) * Improve mock "return" matchers to properly handle calls that throw * Fix unit test that was broken because expect().toThrow() does not proeprly detect a thrown value of undefined. * update CHANGELOG * Fix comment typo * Simplify structure of how mock function results are maintained.
- Loading branch information
1 parent
9867e16
commit f55f3d8
Showing
8 changed files
with
675 additions
and
98 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
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
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
Oops, something went wrong.