node package manager
Easy collaboration. Discover, share, and reuse code in your team. Create a free org ยป

component-istanbul

component-istanbul

instruments component files with istanbul coverage

Installation

$ npm install component-istanbul istanbul

note: This does not depend on istanbul directly, you need to install it yourself

Usage

This is extremely experimental for now.

I have the following commands running for me:

$ component build --use component-istanbul
$ mkdir -p coverage && component test phantom -R node_modules/component-istanbul/reporter.js > coverage/coverage.json && istanbul report

License

LGPLv3