Wednesday, 19 February 2020

[Mocha/Chai] Is capturing the result of an assert possible?

For example I see something like this in test output when an assertion fails.AssertionError: expected '[111,151,211]' to deep include '[101,140,201]'Is there any way I can capture this in an afterEach()?

Submitted February 19, 2020 at 11:07PM by RamsenMC

No comments:

Post a Comment