Skip to content

armgit / mocha

Public Imported from GitHub
0

☕️ Classic, reliable, trusted test framework for Node.js and the browser

clear watcher line

TJ Holowaychuk8866e7a3ff8c
diff --git a/bin/mocha b/bin/mocha
index 00385f90..b3ca8465 100755
--- a/bin/mocha
+++ b/bin/mocha
@@ -306,6 +306,7 @@ function showCursor(){
*/
function stop() {
+ process.stdout.write('\033[2K');
clearInterval(play.timer);
}