Package Exports
- babel-plugin-__coverage__
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (babel-plugin-__coverage__) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
babel-plugin-__coverage__
A Babel plugin that instruments your code with __coverage__ variable.
The resulting __coverage__ object is compatible with Istanbul!
Usage
Install it:
npm install --save-dev babel-plugin-__coverage__Add to .babelrc in test mode:
{
"env": {
"test": {
"plugins": [ "__coverage__" ]
}
}
}It should just work with karma coverage reporter.