Skip to content
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

Option to disable diff #2514

Labels
area: reporters involving a specific reporter status: accepting prs Mocha can use your help with this one! type: feature enhancement proposal

Comments

@pensierinmusica
Copy link

pensierinmusica commented Sep 30, 2016

Hi,

We currently have a use case where we're testing a large array for deep equality against something returned from a function. The problem is that when the test fails the output in the reporter is very long and clogs all the tests.

Is there any option to disable the diff? In this case it would be very useful, since we don't really need to know where the output is different from the expected result, but just if it's deeply equal to it or not.

Thanks!

@boneskull
Copy link
Contributor

No, there's nothing like this

@boneskull boneskull added type: feature enhancement proposal area: reporters involving a specific reporter status: accepting prs Mocha can use your help with this one! labels Oct 1, 2016
boneskull pushed a commit that referenced this issue Dec 12, 2017
boneskull pushed a commit that referenced this issue Dec 12, 2017
This was referenced Dec 29, 2017
sgilroy pushed a commit to TwineHealth/mocha that referenced this issue Feb 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment