Skip to content

Commit 361e834

Browse files
committed
Fix empty mocha tracebacks
1 parent 33794cf commit 361e834

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/_patch/mocha-plugin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
failures += 1;
4949

5050
if (err) {
51-
tracebacks.push(err);
51+
tracebacks.push(stack(err));
5252
}
5353
});
5454

0 commit comments

Comments
 (0)