Currently when test failed, I’ll see something like this:
Error: expected [ Array(3) ] to deeply equal [ Array(3) ]
Is it possible to make mocha show the values/diff?
Currently when test failed, I’ll see something like this:
Error: expected [ Array(3) ] to deeply equal [ Array(3) ]
Is it possible to make mocha show the values/diff?
If you’re using Chai as the assertion library then you can use chai.config.truncateThreshold = 0;