Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
lib
test CI should pass (YAY) Oct 27, 2019
.gitignore lerna Oct 27, 2019
.mocharc.json lerna Oct 27, 2019
README.md lerna Oct 27, 2019
index.js lerna Oct 27, 2019
package-lock.json use latest mocha Jan 4, 2020
package.json use latest mocha Jan 4, 2020

README.md

Third party reporter

Full documentation about it here.

To use a reporter published on npm (e.g., lcov-reporter), install it locally and set --reporter lcov-reporter.

It is a very similar setup for third party UI's, for more details see here.

Commands

  • npm test - run our tests using the local .mocharc.json config file. They are run from the default location (/test) with the reporter found in src/my-reporter.js. In this example there is 1 failing test included, to demonstrate handling.
You can’t perform that action at this time.