istanbuljs / sample-babel-node

Sample babel project to demonstrate source mapped coverage reports with istanbul

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Sample babel project to demonstrate source mapped coverage reports with istanbul


Languages

Language:JavaScript 100.0%