/sample-babel-node

Sample babel project to demonstrate source mapped coverage reports with istanbul

Primary LanguageJavaScript

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-babel-node

Example of using istanbul for coverage with babel in node.

Demonstrates HTML reports that show coverage on original JS (ES2015) files as opposed to the transpiled ES5 versions.

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