Skip to content

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 and browser tests. Built for scale.

License

Notifications You must be signed in to change notification settings

Plopsi/babel-istanbul

 
 

Repository files navigation

babel-istanbul - babel + istanbul

Features

  • This package handles coverage for babel generated code by reconciling babel's output and its source map.
  • babel-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 babel-istanbul
  • babel-istanbul is run exactly like istanbul. For specifics on running istanbul, see istanbul's README.

Special flags

  • There are no longer special flags for babel. Use a .babelrc file for babel configuration.

About

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 and browser tests. Built for scale.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 97.8%
  • Other 2.2%