participate.whatwg.org icon indicating copy to clipboard operation
participate.whatwg.org copied to clipboard

Increase unit test coverage

Open annevk opened this issue 7 years ago • 1 comments

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

annevk avatar Dec 10 '17 08:12 annevk

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.

foolip avatar Sep 13 '19 07:09 foolip