Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

This package has been deprecated

Author message:

THIS PROJECT IS NO LONGER MAINTAINED by clebert

mocha-cov-reporter

1.1.3 • Public • Published

mocha-cov-reporter

A code coverage reporter for Mocha/Blanket.js.

license npm downloads

build code climate dependencies devDependencies

Getting Started

Installation

npm install mocha-cov-reporter --save-dev

Integration

Please add the following fields to your project's package.json file:

{
    "config": {
        "mocha-cov-reporter": {
            "failOnError": true,
            "threshold": 100,
            "useColors": true
        }
    }
}

Sample Output

Coverage succeeded: 100% >= 100% (SLOC 85)
Coverage below threshold: 75% < 100% (SLOC 85)

Running Tests

To run the test suite first install the development dependencies:

npm install

then run the tests:

npm test

Install

npm i mocha-cov-reporter

DownloadsWeekly Downloads

38

Version

1.1.3

License

none

Last publish

Collaborators

  • avatar