Ran
|
Files
99
|
Run time
2min
|
Badge
README BADGES
|
push
travis-ci
env: off/on are truthy sometimes Provide readENVTruthy, and mapTruthy, to explicitly handle the cases where on/off or similar should result in a Boolean value. Here, they should be mapped correctly, eliminating a problem @miloskozak experienced when setting AUTH_DEFAULT_ROLES=bad, there is an exception becaue the value is a literal `true` instead of the string `"bad"`. Intended to be a no-op, preserving the intended effects from previous commit dbe29bd4b from @jasoncalabrese.
6783 of 9009 relevant lines covered (75.29%)
3192.97 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|---|---|---|---|---|---|---|
16.44 | lib/plugins/insulinage.js | 148 | 73 | 12 | 61 | 5.0 | |
17.27 | lib/client/boluscalc.js | 792 | 498 | 86 | 412 | 7.0 | |
37.33 | lib/admin_plugins/roles.js | 187 | 75 | 28 | 47 | 1.0 | |
38.29 | lib/client/renderer.js | 1098 | 444 | 170 | 274 | 7.0 | |
39.44 | lib/admin_plugins/subjects.js | 183 + 115 | 71 + 45 | 28 + 19 | 43 + 26 | 1.0 | |
40.68 | lib/authorization/endpoints.js | 120 | 59 | 24 | 35 | 12.0 | |
44.19 | lib/api/food/index.js | 87 | 43 | 19 | 24 | 7.0 | |
45.0 | lib/api/profile/index.js | 83 | 40 | 18 | 22 | 7.0 | |
45.0 | lib/api/properties.js | 50 - 35 | 20 - 18 | 9 - 10 | 11 - 8 | 5.0 + 4 | |
47.54 | lib/client/receiveddata.js | 118 | 61 | 29 | 32 | 2.0 |