Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add code coverage via istanbul and coveralls.io #741

Closed
wants to merge 1 commit into from

Conversation

justincy
Copy link
Contributor

Two new npm run commands:

  • coverage - runs coverage and produces an html report in the coverage directory.
  • coveralls - runs coverage and sends information to coveralls.io

I modifed .travis.yml to have run npm run coveralls which runs the tests and updates coverage in coveralls.

If you accept this then you would want to change the repo token in .coveralls.yml and update the badge URL.

FYI, current coverage is 93%.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants