Skip to content

Commit 9dc1864

Browse files
author
bweigel
committed
keep performing tests, even if one fails
1 parent 8bbc506 commit 9dc1864

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

test.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,11 @@ const test = (desc, func, opts = {}) =>
7777
setup();
7878
try {
7979
func(t);
80-
} finally {
80+
} catch (err) {
81+
console.log(err);
82+
t.end();
83+
}
84+
finally {
8185
teardown();
8286
}
8387
});

0 commit comments

Comments
 (0)