Skip to content

Commit 88ccda0

Browse files
authoredJul 30, 2019
expect: Improve report when negative CalledWith assertion fails (#8755)
* expect: Improve report when negative CalledWith assertion fails * Add missing argument in printReceivedCalls for LastCalled * Update CHANGELOG.md * Remove label argument from printReceivedCalls * Display equal args with dim color and delete redundant tests
1 parent 1b38e11 commit 88ccda0

File tree

4 files changed

+341
-205
lines changed

4 files changed

+341
-205
lines changed
 

‎CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
- `[expect]` Improve report when mock-spy matcher fails, part 3 ([#8697](https://github.com/facebook/jest/pull/8697))
1010
- `[expect]` Improve report when mock-spy matcher fails, part 4 ([#8710](https://github.com/facebook/jest/pull/8710))
1111
- `[expect]` Throw matcher error when received cannot be jasmine spy ([#8747](https://github.com/facebook/jest/pull/8747))
12+
- `[expect]` Improve report when negative CalledWith assertion fails ([#8755](https://github.com/facebook/jest/pull/8755))
1213
- `[jest-snapshot]` Highlight substring differences when matcher fails, part 3 ([#8569](https://github.com/facebook/jest/pull/8569))
1314
- `[jest-core]` Improve report when snapshots are obsolete ([#8448](https://github.com/facebook/jest/pull/8665))
1415
- `[jest-cli]` Improve chai support (with detailed output, to match jest exceptions) ([#8454](https://github.com/facebook/jest/pull/8454))

0 commit comments

Comments
 (0)
Please sign in to comment.