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

Increase unit test coverage #4

Open
annevk opened this issue Dec 10, 2017 · 1 comment
Open

Increase unit test coverage #4

annevk opened this issue Dec 10, 2017 · 1 comment

Comments

@annevk
Copy link
Member

annevk commented Dec 10, 2017

It's not quite 100% and that might be good.

@foolip
Copy link
Member

foolip commented Sep 13, 2019

Running npm run coverage, it looks like coverage is 100% in 4 files out of 7 in lib/:

----------------------|----------|----------|----------|----------|-------------------|
File                  |  % Stmts | % Branch |  % Funcs |  % Lines | Uncovered Line #s |
----------------------|----------|----------|----------|----------|-------------------|
All files             |      100 |      100 |      100 |      100 |                   |
 get-user-status.js   |      100 |      100 |      100 |      100 |                   |
 pr-webhook.js        |      100 |      100 |      100 |      100 |                   |
 process-agreement.js |      100 |      100 |      100 |      100 |                   |
 update-pr.js         |      100 |      100 |      100 |      100 |                   |
----------------------|----------|----------|----------|----------|-------------------|

Not covered at all, seemingly, are add-data.js, app.js and routes.js.

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

No branches or pull requests

2 participants