Skip to content

Commit 52dda0c

Browse files
Mathou54filipesilva
Mathou54
authored andcommitted
docs(readme): add code-coverage option
Add code-coverage option in the READMEi.md. Close #3018
1 parent 9b65481 commit 52dda0c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,10 @@ ng test
187187

188188
Tests will execute after a build is executed via [Karma](http://karma-runner.github.io/0.13/index.html), and it will automatically watch your files for changes. You can run tests a single time via `--watch=false` or `--single-run`.
189189

190+
You can run tests with coverage via `--code-coverage`. The coverage report will be in the `coverage/` directory.
191+
192+
Linting during tests is also available via the `--lint` flag. See [Linting and formatting code](#linting-and-formatting-code) chapter for more informations.
193+
190194
### Running end-to-end tests
191195

192196
```bash

0 commit comments

Comments
 (0)