Sha256: 1fb92557182e50c952a04e7e525eecdb68db49e75f6e393aa7afee2359ed373e
Contents?: true
Size: 600 Bytes
Versions: 4
Compression:
Stored size: 600 Bytes
Contents
/** * Module dependencies. */ var Base = require('./base'); /** * Expose `Min`. */ exports = module.exports = Min; /** * Initialize a new `Min` minimal test reporter (best used with --watch). * * @param {Runner} runner * @api public */ function Min(runner) { Base.call(this, runner); runner.on('start', function(){ // clear screen process.stdout.write('\033[2J'); // set cursor position process.stdout.write('\033[1;3H'); }); runner.on('end', this.epilogue.bind(this)); } /** * Inherit from `Base.prototype`. */ Min.prototype.__proto__ = Base.prototype;
Version data entries
4 entries across 4 versions & 1 rubygems