diff --git a/test/mocha-1.8.1/mocha.js b/test/mocha-1.8.1/mocha.js index f01d356ac5..48989958a9 100644 --- a/test/mocha-1.8.1/mocha.js +++ b/test/mocha-1.8.1/mocha.js @@ -2370,6 +2370,12 @@ function HTML(runner, root) { } el.appendChild(fragment('
%e
', str)); + + // Display errors in Chrome's console + if (window.chrome) { + window.console.error(str); + } + } // toggle code