-
-
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) #8454
Improve chai support (with detailed output, to match jest exceptions) #8454
Conversation
@thymikee ,
I can't figure out why. |
@rpgeeganage Hmm, I don't see anything suspicious in the diff that might cause tests to stall. Weird that |
Maybe it broke some other test that waits for a certain output and for some reason doesn't timeout normally? @rpgeeganage have you tried running all tests ( |
@jeysal |
Looks like some sort of hanging test, yes. Not sure why it doesn't time out, probably a bug. Running |
@SimenB , @jeysal |
Codecov Report
@@ Coverage Diff @@
## master #8454 +/- ##
==========================================
- Coverage 62.32% 62.26% -0.07%
==========================================
Files 266 266
Lines 10735 10746 +11
Branches 2614 2624 +10
==========================================
Hits 6691 6691
- Misses 3460 3471 +11
Partials 584 584
Continue to review full report at Codecov.
|
@jeysal , |
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.
Really nice work @rpgeeganage ❤️
Hope the change to chai also goes through for an even better integration 😎
@jeysal , |
Hello everyone, I've just seen the related issue in Chai's repo, I'll do my best to get it merged there this week. I think the code is pretty much g2g. |
Just FYI, we've just merged @rpgeeganage's amazing work in chaijs/chai#1257 and we'll try to separate some time for a release with that change this weekend. |
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
Before the change
Chai
output was as follows.With modification: