Angular 2 A simple angular-cli command base test coverage


Example

If you want to see overall test coverage statistics than of course in Angular CLI you can just type below command, and see the bottom of your command prompt window for results.

ng test --cc // or --code-coverage

enter image description here