[DAEMON-45] appcd-http: Add unit tests
| GitHub Issue | n/a |
|---|---|
| Type | New Feature |
| Priority | Medium |
| Status | Resolved |
| Resolution | Fixed |
| Resolution Date | 2017-02-17T23:41:04.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | Appc Daemon 1.0.0 |
| Components | appcd-http |
| Labels | n/a |
| Reporter | Chris Barber |
| Assignee | Chris Barber |
| Created | 2017-02-17T05:31:28.000+0000 |
| Updated | 2017-10-26T03:12:02.000+0000 |
Description
The appcd-http package has some unit tests, but code coverage is lacking.
---------------|----------|----------|----------|----------|----------------| File | % Stmts | % Branch | % Funcs | % Lines |Uncovered Lines | ---------------|----------|----------|----------|----------|----------------| src/ | 100 | 95.97 | 100 | 100 | | router.js | 100 | 97.4 | 100 | 100 | | webserver.js | 100 | 93.62 | 100 | 100 | | ---------------|----------|----------|----------|----------|----------------| All files | 100 | 95.97 | 100 | 100 | | ---------------|----------|----------|----------|----------|----------------|