Open anuragparida opened 6 years ago
Employed method to generate HTML file in ./coverage depicting Code Coverage results in both CLI format and Graphical format.
./coverage
Run the coverage command with sudo npm test to view the coverage details in the CLI and generate an HTML file in ./coverage.
sudo npm test
./coverage/index.html
Used nyc tool by IstanbulJS to provide Code coverage with added functionality of HTML support (see below)-
Employed method to generate HTML file in
./coverage
depicting Code Coverage results in both CLI format and Graphical format.Run the coverage command with
sudo npm test
to view the coverage details in the CLI and generate an HTML file in./coverage
../coverage/index.html
in a web browser.