Skip to content

Commit a1e3007

Browse files
authored
expect: Improve report when mock-spy matcher fails, part 4 (#8710)
* expect: Improve report when mock-spy matcher fails, part 4 * Update CHANGELOG.md * Update code and snapshots after review by Michał * Replace label with Number of returns/calls * Add function call as explicit subject * Delete value from Expected and Received labels * Update snapshots
1 parent 3add146 commit a1e3007

File tree

3 files changed

+875
-639
lines changed

3 files changed

+875
-639
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
- `[expect]` Improve report when mock-spy matcher fails, part 1 ([#8640](https://github.com/facebook/jest/pull/8640))
88
- `[expect]` Improve report when mock-spy matcher fails, part 2 ([#8649](https://github.com/facebook/jest/pull/8649))
99
- `[expect]` Improve report when mock-spy matcher fails, part 3 ([#8697](https://github.com/facebook/jest/pull/8697))
10+
- `[expect]` Improve report when mock-spy matcher fails, part 4 ([#8710](https://github.com/facebook/jest/pull/8710))
1011
- `[jest-snapshot]` Highlight substring differences when matcher fails, part 3 ([#8569](https://github.com/facebook/jest/pull/8569))
1112
- `[jest-cli]` Improve chai support (with detailed output, to match jest exceptions) ([#8454](https://github.com/facebook/jest/pull/8454))
1213
- `[*]` Manage the global timeout with `--testTimeout` command line argument. ([#8456](https://github.com/facebook/jest/pull/8456))

0 commit comments

Comments
 (0)