Skip to content

Commit efc4880

Browse files
committed
Merge pull request #114 from seanzer/fail-on-exception
Report errors during test as failures
2 parents 01ed2cb + 65ec625 commit efc4880

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)