Isparta is a npm package which acts as a code coverage tool for ES6 using babel.
Definition:
According to the Official Documentation:
Isparta is a code coverage tool for ES6 using babel.
Its intention is to be used with karma and karma-coverage, which provides code coverage reports using istanbul.
In other words, Isparta is a npm package which acts as a code coverage tool for ES6.
Installation:
npm install --save-dev isparta
Example Usage:
The following command would allow you to run a coverage over mocha tests:
babel-node node_modules/isparta/bin/isparta cover --report text --report html node_modules/mocha/bin/_mocha -- --reporter dot