babel7-istanbul
v0.9.1
Published
Yet another JS code coverage tool that computes statement, line, function and branch coverage with module loader hooks to transparently add coverage when running tests. Supports all JS coverage use cases including unit tests, server side functional tests
Downloads
200
Maintainers
Readme
babel7-istanbul - babel + istanbul
- This package is upgraded to have babel 7 support
- Features
- Getting started
Features
- This package handles coverage for babel generated code by reconciling babel's output and its source map.
- babel7-istanbul is drop-in replacement for istanbul, as it is a fork of istanbul with babel compilation inserted into the instrumentation layer.
Getting started
$ npm install babel7-istanbul
babel7-istanbul is run exactly like istanbul. For specifics on running istanbul, see istanbul's README.
This package is upgraded to have babel 7 support
New version available
This package was created a long time ago before istanbul had direct transpiler support. I suggest looking at https://istanbul.js.org/ for an updated and maintained solution for code coverage.