Skip to content

Commit 0bea224

Browse files
authoredMar 14, 2024··
fix(vitest): ensure restoring terminal cursor on close (#5292)
1 parent e1735fb commit 0bea224

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎packages/vitest/src/node/core.ts

+1
Original file line numberDiff line numberDiff line change
@@ -844,6 +844,7 @@ export class Vitest {
844844
results.filter(r => r.status === 'rejected').forEach((err) => {
845845
this.logger.error('error during close', (err as PromiseRejectedResult).reason)
846846
})
847+
this.logger.logUpdate.done() // restore terminal cursor
847848
})
848849
})()
849850
}

0 commit comments

Comments
 (0)
Please sign in to comment.