UNPKG

mocha-tldr-reporter

Version:

A super low noise mocha reporter (i.e. the "min" reporter without the crazy screen clearing)

11 lines (7 loc) 235 B
var Base = require('mocha').reporters.Base; function TldrReporter(runner) { Base.call(this, runner); runner.on('end', this.epilogue.bind(this)); } TldrReporter.prototype.__proto__ = Base.prototype; module.exports = TldrReporter;