Skip to content

Commit

Permalink
fix(vitest): ensure restoring terminal cursor on close (#5292)
Browse files Browse the repository at this point in the history
  • Loading branch information
hi-ogawa authored Mar 14, 2024
1 parent e1735fb commit 0bea224
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/vitest/src/node/core.ts
Original file line number Diff line number Diff line change
Expand Up @@ -844,6 +844,7 @@ export class Vitest {
results.filter(r => r.status === 'rejected').forEach((err) => {
this.logger.error('error during close', (err as PromiseRejectedResult).reason)
})
this.logger.logUpdate.done() // restore terminal cursor
})
})()
}
Expand Down

0 comments on commit 0bea224

Please sign in to comment.