istanbuljs / sample-mocha-compilers

Sample project to demo istanbul coverage with mocha using the babel compiler
7 stars 5 forks source link

Deprecation notice: this example repo is no longer the way to use the latest istanbul APIs.

see: https://istanbul.js.org/docs/tutorials/es2015/

sample-mocha-compilers

Example of istanbul coverage with mocha tests using a babel compiler.

$ npm install
$ npm test
$ open coverage/lcov-report/index.html