Skip to content

Commit

Permalink
docs(README): link to nyc configuration file instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
yannbf committed Jun 24, 2022
1 parent 6b507c8 commit ec36320
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,8 @@ This will generate a more detailed, interactive coverage summary that you can ac

![](.github/assets/coverage-report-html.png)

The `nyc` command will respect [nyc configuration files](https://github.com/istanbuljs/nyc#common-configuration-options) if you have them in your project.

If you are using tools like [Codecov](https://codecov.io/), the coverage will be detected automatically. In case you have multiple coverage files in the coverage folder, they will be merged automatically by Codecov.

If you want certain parts of your code to be deliberately ignored, you can use istanbul [parsing hints](https://github.com/istanbuljs/nyc#parsing-hints-ignoring-lines).
Expand Down

0 comments on commit ec36320

Please sign in to comment.