Skip to content

Commit

Permalink
docs: correction to configuration parameter (#4587)
Browse files Browse the repository at this point in the history
  • Loading branch information
ann-kilzer committed Nov 27, 2023
1 parent 2b32809 commit 2b2416d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/guide/coverage.md
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ Since Vitest 0.31.0, you can check your coverage report in [Vitest UI](./ui).
Vitest UI will enable coverage report when it is enabled explicitly and the html coverage reporter is present, otherwise it will not be available:
- enable `coverage.enabled=true` in your configuration or run Vitest with `--coverage.enabled=true` flag
- add `html` to the `coverage.reporters` list: you can also enable `subdir` option to put coverage report in a subdirectory
- add `html` to the `coverage.reporter` list: you can also enable `subdir` option to put coverage report in a subdirectory
<img alt="html coverage activation in Vitest UI" img-light src="/vitest-ui-show-coverage-light.png">
<img alt="html coverage activation in Vitest UI" img-dark src="/vitest-ui-show-coverage-dark.png">
Expand Down

0 comments on commit 2b2416d

Please sign in to comment.