You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
right now if something throws an assertion error (e.g. assert.equal(1, 2)) we just print the error message.
AssertionError actually has a lot of info in it (actual, expected values) and we can pretty print the diff of two objects (mocha does that)
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions.
right now if something throws an assertion error (e.g.
assert.equal(1, 2)
) we just print the error message.AssertionError actually has a lot of info in it (actual, expected values) and we can pretty print the diff of two objects (mocha does that)
this is especially useful for things like eslint
RuleTester
that usesassert
and delegates its testing toglobal.it
.eslint/eslint#6532
The text was updated successfully, but these errors were encountered: