istanbul-reporter-raw-json

1.0.1 • Public • Published

istanbul-reporter-raw-json

Reporter for istanbul <1.0 that dumps collector.getFinalCoverage() into coverage.raw.json, just like istanbul alpha.

Useful for tilities that produce coverage results through istanbul.

Usage

Register the report using the istanbul Report factory:

var rawJsonReporter = require('istanbul-reporter-raw-json');
var istanbul = require('istanbul');
istanbul.Report.register(rawJsonReporter);

Create a report after istanbul has collected coverage information:

var report = require('istanbul').Report.create('raw-json');

License

ISC

Package Sidebar

Install

npm i istanbul-reporter-raw-json

Weekly Downloads

0

Version

1.0.1

License

ISC

Last publish

Collaborators

  • lxe