Skip to content
This repository has been archived by the owner on May 30, 2019. It is now read-only.

ariya/coverage-mocha-istanbul-karma

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repo contains an example setup for tracking code coverage of Mocha tests via Istanbul and Karma.

Run the following:

npm install
npm test

and then open the code coverage report under the subdirectory coverage.

The tests are executed using PhantomJS and Firefox. It is easy to add other browsers as well.