Improve chai support (with detailed output, to match jest exceptions)#8454
Improve chai support (with detailed output, to match jest exceptions)#8454jeysal merged 13 commits intojestjs:masterfrom rpgeeganage:improve_chai_assertion_messages_display
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 , |
jeysal
left a comment
There was a problem hiding this comment.
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
Chaioutput was as follows.With modification: