lib/reporters/min.js
function Min(runner, options) {
  Base.call(this, runner, options);

  runner.on(EVENT_RUN_BEGIN, function() {
    // clear screen
    process.stdout.write('\u001b[2J');
    // set cursor position
    process.stdout.write('\u001b[1;3H');
  });

  runner.once(EVENT_RUN_END, this.epilogue.bind(this));
}
function Min(runner, options) {
  Base.call(this, runner, options);

  runner.on(EVENT_RUN_BEGIN, function() {
    // clear screen
    process.stdout.write('\u001b[2J');
    // set cursor position
    process.stdout.write('\u001b[1;3H');
  });

  runner.once(EVENT_RUN_END, this.epilogue.bind(this));
}
function Min ( runner , options ) { Base . call ( this , runner , options ) ; runner . on ( EVENT_RUN_BEGIN , function ( ) { // clear screen process . stdout . write ( '\u001b[2J' ) ; // set cursor position process . stdout . write ( '\u001b[1;3H' ) ; } ) ; runner . once ( EVENT_RUN_END , this . epilogue . bind ( this ) ) ; }
Constructs a new `Min` reporter instance.

@description
This minimal test reporter is best used with '--watch'.

@public
@class
@memberof Mocha.reporters
@extends Mocha.reporters.Base
@param {Runner} runner - Instance triggers reporter actions.
@param {Object} [options] - runner options
Constructs a new Min reporter instance .