Skip to content

Commit

Permalink
expect: Improve report when mock-spy matcher fails, part 4 (#8710)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
pedrottimark committed Jul 24, 2019
1 parent 3add146 commit a1e3007
Show file tree
Hide file tree
Showing 3 changed files with 875 additions and 639 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Expand Up @@ -7,6 +7,7 @@
- `[expect]` Improve report when mock-spy matcher fails, part 1 ([#8640](https://github.com/facebook/jest/pull/8640))
- `[expect]` Improve report when mock-spy matcher fails, part 2 ([#8649](https://github.com/facebook/jest/pull/8649))
- `[expect]` Improve report when mock-spy matcher fails, part 3 ([#8697](https://github.com/facebook/jest/pull/8697))
- `[expect]` Improve report when mock-spy matcher fails, part 4 ([#8710](https://github.com/facebook/jest/pull/8710))
- `[jest-snapshot]` Highlight substring differences when matcher fails, part 3 ([#8569](https://github.com/facebook/jest/pull/8569))
- `[jest-cli]` Improve chai support (with detailed output, to match jest exceptions) ([#8454](https://github.com/facebook/jest/pull/8454))
- `[*]` Manage the global timeout with `--testTimeout` command line argument. ([#8456](https://github.com/facebook/jest/pull/8456))
Expand Down

0 comments on commit a1e3007

Please sign in to comment.