☕️ Classic, reliable, trusted test framework for Node.js and the browser
Merge pull request #868 from jfirebaugh/onerror
Travis Jefferyb9b7355c5563
diff --cc support/tail.jsindex e3f1369f,748b95ad..0c50bb67--- a/support/tail.js+++ b/support/tail.js@@@ -40,8 -39,9 +40,9 @@@ process.removeListener = function(e)process.on = function(e, fn){if ('uncaughtException' == e) {- window.onerror = function(err, url, line){+ global.onerror = function(err, url, line){fn(new Error(err + ' (' + url + ':' + line + ')'));+ return true;};}};