How to show diff in tests output #412
Unanswered
mikaoelitiana
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am using neotest mocha adapter and I can't find the way to display the diff when something is mismatching in the test results. I see in the JSON output file, there is a
showDiff
key along with aactual
andexpected
likehttps://github.com/adrigzr/neotest-mocha/blob/780afb9ed021431fbf056b69295170d68d273234/test/fixtures/basic_test_results.json#L139-L146
Is there a way to display this in Neotest? By default on the mocha adapter, the output is sent to JSON so it is not available in the console output.
Beta Was this translation helpful? Give feedback.
All reactions