-
-
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/jest-matcher-utils: Improve report when assertion fails, part 5 (
#7557) * expect/jest-matcher-utils: Improve report when assertion fails, part 5 * Edit utils and improve one snapshot * Update CHANGELOG.md * Improve message for ensureNoExpected * Rewrite promise instead message * Rewrite half of non-promise value tests with not * Delete empty line and duplicated words * Rebuild and update e2e snapshot * Add section about promise property to ExpectAPI.md * Update example code to use options in ExpectAPI.md * Added promise property to MatcherState
- Loading branch information
1 parent
60ca308
commit f425bd4
Showing
14 changed files
with
485 additions
and
329 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
4 changes: 2 additions & 2 deletions
4
packages/expect/src/__tests__/__snapshots__/assertionCounts.test.js.snap
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.