Ran
|
Files
1
|
Run time
0s
|
Badge
Embed ▾
README BADGES
|
travis-ci
<a href="https://github.com/expressjs/cors/commit/<a class=hub.com/expressjs/cors/commit/c9311404e0177e17c54485987ccab87bf21c1ee2">c9311404e<a href="https://github.com/expressjs/cors/commit/c9311404e0177e17c54485987ccab87bf21c1ee2">">Examples of how to add OPTIONS handlers at the router level This works because cors internally handles OPTIONS requests https://github.com/expressjs/cors/blob/</a><a class="double-link" href="https://github.com/expressjs/cors/commit/<a class="double-link" href="https://github.com/expressjs/cors/commit/075c4b51452542f52ad21898ec781f725c84934d">075c4b514</a>">075c4b514</a><a href="https://github.com/expressjs/cors/commit/c9311404e0177e17c54485987ccab87bf21c1ee2">/lib/index.js#L163 and so doesn’t strictly need express to route OPTIONS requests to it as the documentation suggested prior to this commit.
80 of 83 branches covered (96.39%)
Branch coverage included in aggregate %.
118 of 118 relevant lines covered (100.0%)
31.03 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
---|