Skip to content

armgit / mocha

Public Imported from GitHub
0

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

misc

TJ Holowaychukedd82f75565d
diff --git a/lib/reporters/min.js b/lib/reporters/min.js
index a136b8ad..394a7895 100644
--- a/lib/reporters/min.js
+++ b/lib/reporters/min.js
@@ -2,8 +2,7 @@
* Module dependencies.
*/
-var Base = require('./base')
- , color = Base.color;
+var Base = require('./base');
/**
* Expose `Min`.
@@ -25,8 +24,10 @@ function Min(runner) {
, stats = this.stats;
runner.on('start', function(){
- process.stdout.write('\033[2J'); // clear screen
- process.stdout.write('\033[1;3H'); // set cursor position
+ // clear screen
+ process.stdout.write('\033[2J');
+ // set cursor position
+ process.stdout.write('\033[1;3H');
});
runner.on('end', function(){ self.epilogue(); });