Skip to content

Add a diff between err.actual & err.expected to test case failure data #109

Open
vgrigoruk wants to merge 2 commits intomichaelleeallen:masterfrom
peakon:master
Open

Add a diff between err.actual & err.expected to test case failure data #109
vgrigoruk wants to merge 2 commits intomichaelleeallen:masterfrom
peakon:master

Conversation

@vgrigoruk
Copy link

This PR adds a diff between actual & expected values to <failure> when mocha v6+ is used to speed up troubleshooting of test failures on CI environment.

@sebikeller
Copy link

@vgrigoruk That PR solves exactly what I was looking for.
@michaelleeallen Please merge, thanks a lot!

@clayreimann clayreimann self-requested a review March 10, 2020 06:57
Copy link
Owner

@michaelleeallen michaelleeallen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vgrigoruk thanks for submitting! Can you provide a test case that demonstrates how the code is intended to work?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants