istanbul-smart-text-reporter
TypeScript icon, indicating that this package has built-in type declarations

1.1.5 • Public • Published

istanbul-smart-text-reporter

Istanbul's text reporter but with smarter output; Doesn't print a table if there are no files to print.

@electrovir/nyc/@electrovir/c8

If you use the @electrovir/nyc fork of nyc or the @electrovir/c8 fork of c8 and provide the failBelow config value then when any lines are printed, the reporter fails the process so that you can use the checkCoverage: false option and eliminate extraneous console.error logging from. Example.

Usage

npm i -D istanbul-smart-text-reporter

Using config file

// c8.config.js

module.exports = {
    reporter: 'istanbul-smart-text-reporter',
};

In CLI

ncy --reporter istanbul-smart-text-reporter

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.1.5120latest

Version History

VersionDownloads (Last 7 Days)Published
1.1.5120
1.1.4326
1.1.30
1.1.2121
1.1.142
1.1.01
1.0.13
1.0.00
0.0.142
0.0.02

Package Sidebar

Install

npm i istanbul-smart-text-reporter

Weekly Downloads

196

Version

1.1.5

License

(MIT or CC0 1.0)

Unpacked Size

24.7 kB

Total Files

6

Last publish

Collaborators

  • electrovir