-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
expect: Display equal values for ReturnedWith similar to CalledWith #8791
Conversation
@pedrottimark Question: For |
* upstream/master: expect: Display equal values for ReturnedWith similar to CalledWith (jestjs#8791) Clearer messages for Node assert errors (jestjs#8792) use babel-plugin-replace-ts-export-assignment package (jestjs#8805) jest-matcher-utils: Add color options to matcherHint (jestjs#8795) chore: Make sure copyright header comment includes license (jestjs#8783)
@jeysal That question caused me to wait until after we evaluated the convention for
|
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Summary
Display received value in dim color when it is equal to expected
Test plan
Updated 12 snapshots
toHaveReturnedWith
toReturnWith
toHaveLastReturnedWith
lastReturnedWith
toHaveNthReturnedWith
nthReturnedWith
See also pictures in following comments
Example pictures baseline at left and improved at right if it changed