December 2017
Beginner
372 pages
10h 32m
English
In the Terminal window, navigate to the application folder and run the following command:
ng test --code-coverage true
This command will launch the web browser for running the unit test we have for our application, as shown here:

And, it will also create a folder with the name coverage in our application root directory, as shown in the following screenshot, which will have the details of the current code coverage of the application:

As you can see, we have a coverage folder which has a bunch of files ...
Read now
Unlock full access