Sha256: 044effb577b5f811f47e2ba3494a3f7447528bc2ddf7d17477a562e972ec4311
Contents?: true
Size: 599 Bytes
Versions: 5
Compression:
Stored size: 599 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
5 entries across 5 versions & 1 rubygems