Skip to content

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

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

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