mirror of
https://github.com/nodejs/node.git
synced 2024-11-30 15:30:56 +01:00
e9442d1582
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>
7 lines
99 B
JSON
7 lines
99 B
JSON
{
|
|
"exclude": [
|
|
"**/internal/process/write-coverage.js"
|
|
],
|
|
"reporter": ["html", "text"]
|
|
}
|