Reporter for the mocha test framework based on Tim Pope's fivemat.
Add it to the devDependencies
in your package.json
and npm install
.
{
"devDependencies": {
"mocha-fivemat-reporter": "*"
}
}
After installation you can use mocha-fivemat-reporter
as the reporter name with the
-R
or --reporter
switch.
$ mocha -R mocha-fivemat-reporter
With mocha.opts
this can be done with,
--reporter mocha-fivemat-reporter