-
-
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
Improve chai support (with detailed output, to match jest exceptions) #8444
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! Can you add a test to make sure we don't regress? And a changelog entry. Also, how about porting this fix to jest-circus
?
Hey @rpgeeganage, thanks a lot for tackling this! |
@jeysal @thymikee
Can you give me a hint on adding tests for these changes? (where or how to add the tests) |
I think the easiest would be to add e2e tests that run whole jest on a specified set of files. They sit in |
@thymikee , |
@thymikee ,
I can't figure out why. |
…jest into improve_chai_output
…jest into improve_chai_output
closing this pr, because I screwed it up. will open a new PR. sorry about that. |
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
This PR is an initial attempt to solve #8152.
Test plan
No tests were added yet since this only for review.
Before the change
Chai
output was as follows.With modification: