simple-icons/tests/min-reporter.cjs
Sachin Raja d49492f1ef
switch from uvu to mocha (#7071)
* switch from uvu to mocha

* remove unused import

* custom min reporter

* use constants
2022-01-19 18:23:32 +01:00

13 lines
272 B
JavaScript

const { reporters, Runner } = require('mocha');
const { EVENT_RUN_END } = Runner.constants;
class EvenMoreMin extends reporters.Base {
constructor(runner) {
super(runner);
runner.once(EVENT_RUN_END, () => this.epilogue());
}
}
module.exports = EvenMoreMin;