|
Ran
|
Files
10
|
Run time
0s
|
Badge
README BADGES
|
push
travis-ci
<a href="https://github.com/SAP/ui5-server/commit/<a class=hub.com/SAP/ui5-server/commit/c3089adeee030f4ace899c01944006583146e32e">c3089adee<a href="https://github.com/SAP/ui5-server/commit/c3089adeee030f4ace899c01944006583146e32e">">[FIX] Makes CSP middleware work in an environment without express server (#184) * [FIX] Makes CSP middleware work in an environment without express server With change </a><a class="double-link" href="https://github.com/SAP/ui5-server/commit/<a class="double-link" href="https://github.com/SAP/ui5-server/commit/4f059670306c97ab5f34d82bb335f5ee21d73c72">4f0596703</a>">4f0596703</a><a href="https://github.com/SAP/ui5-server/commit/c3089adeee030f4ace899c01944006583146e32e">, the CSP middleware made use of 'express' APIs on the request object. When used in an environment without 'express' (e.g. the OpenUI5 legacy grunt tooling), the CSP middleware failed for all requests. It now uses the native NodeJS APIs again. Fixes https://github.com/SAP/ui5-server/issues/183 . * adapt tests
167 of 182 branches covered (91.76%)
Branch coverage included in aggregate %.
327 of 348 relevant lines covered (93.97%)
7.69 hits per line
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
|---|