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
it's mainly in the reporting end of things: lib/console-runner 236
var r = tests[i];
if (r.failure) {
var s = r.failure.stack ? r.failure.stack.split("\n"): ['no stack trace']
a lot of that code breaks if a non Error is thrown, usually a property of null error when you try to say failure.stack.length, and failure is a string, and has no stack property.
if null is thrown, it's it ends the test, but does not count as an error!
you get a passing test!
in javascript you can throw ANYTHING
The text was updated successfully, but these errors were encountered: