Package Exports
- istanbul-react
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 (istanbul-react) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
istanbul-react

Instrumenter for 1:1 mapping of React JSX components. Can be used with karma-coverage
Install
$ npm install --save istanbul-reactUsage
Use with karma-coverage
coverageReporter: {
instrumenters: { 'istanbul-react' : require('istanbul-react') }
instrumenter: {
'**/*.jsx': 'istanbul-react'
},
// ...
}You can also just use it directly
var instrumenter = new require('istanbul-react').Instrumenter({});
instrumenter.instrument(content, path, function(err, instrumentedCode) {
// ...
});