Skip to content

Commit ea1c6a8

Browse files
committed
fix(fancy): resume consola befor we die!
1 parent 2e5c685 commit ea1c6a8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/reporters/fancy.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ export default class FancyReporter {
2323

2424
done(context) {
2525
this._renderStates(context.statesArray);
26+
27+
if (context.hasErrors) {
28+
consola.resume();
29+
}
2630
}
2731

2832
progress(context) {

0 commit comments

Comments
 (0)