diff options
author | Benjamin Coe <ben@npmjs.com> | 2017-09-04 23:33:27 -0700 |
---|---|---|
committer | Ruben Bridgewater <ruben@bridgewater.de> | 2017-09-08 00:31:57 -0300 |
commit | e9442d15820b3b8e1113ca0862e5a9635052037b (patch) | |
tree | a6dc5fde7e4f5a450856f1d87825ddcc467cfb29 /.nycrc | |
parent | 9168b8cf4725069d52beea96c1d8a8f698f0def1 (diff) | |
download | node-new-e9442d15820b3b8e1113ca0862e5a9635052037b.tar.gz |
test: exclude write-coverage from coverage report
Added a .nyrc configuration file that can be used to configure
test coverage.
Added an exclude rule that removes write-coverage.js from coverage
reports.
Pulled reporter configuration into .nycrc and added an additional
text reporter.
PR-URL: https://github.com/nodejs/node/pull/15194
Reviewed-By: Timothy Gu <timothygu99@gmail.com>
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Diffstat (limited to '.nycrc')
-rw-r--r-- | .nycrc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/.nycrc b/.nycrc new file mode 100644 index 0000000000..9e34a976e2 --- /dev/null +++ b/.nycrc @@ -0,0 +1,6 @@ +{ + "exclude": [ + "**/internal/process/write-coverage.js" + ], + "reporter": ["html", "text"] +} |