Skip to content

Commit f5089ca

Browse files
d4nyllbcoe
authored andcommitted
docs: added examples of coverage reports (#656)
1 parent af281e7 commit f5089ca

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,12 +173,14 @@ To view your coverage report:
173173

174174
<img width="500" src="screen.png">
175175

176-
you can use [any reporters that are supported by `istanbul`](https://github.com/istanbuljs/istanbuljs/tree/master/packages/istanbul-reports/lib):
176+
You can use [any reporters that are supported by `istanbul`](https://github.com/istanbuljs/istanbuljs/tree/master/packages/istanbul-reports/lib): `clover`, `cobertura`, `html`, `json-summary`, `json`, `lcov`, `lcovonly`, `none`, `teamcity`, `text-lcov`, `text-summary`, `text`.
177177

178178
```bash
179179
nyc report --reporter=lcov
180180
```
181181

182+
You can find examples of the output for various reporters [here](https://istanbul.js.org/docs/advanced/instrument/alternative-reporters).
183+
182184
## Excluding files
183185

184186
You can tell nyc to exclude specific files and directories by adding

0 commit comments

Comments
 (0)