TeamMaestro / angular-native-seed

Build web apps and NativeScript applications from one codebase using the AngularCLI.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to run code coverage?

hatemhosny opened this issue · comments

How can I run and view results of test code coverage?

thank you

I figured that out. thank you...

In case someone is looking for that, run:
ng test --code-coverage

you will find a new folder "/coverage"
open "/coverage/index.html" in the browser for results (just double click on it)

click on links to the files to see code uncovered with tests

I hope this can help somebody