Skip to content

Commit 65ec625

Browse files
author
Sean Lee
committed
Report errors during test as failures
1 parent 3ca5413 commit 65ec625

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ module.exports = function (opts) {
3939
var runner;
4040

4141
function handleException(err) {
42-
if (err.name === 'AssertionError' && runner) {
42+
if (runner) {
4343
runner.uncaught(err);
4444
} else {
4545
clearCache();

0 commit comments

Comments
 (0)