Ran
|
Jobs
3
|
Files
1
|
Run time
3s
|
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%)
93.1 hits per line
ID | Job ID | Ran | Files | Coverage | |
---|---|---|---|---|---|
1 | 161.1 | 1 |
100.0 |
Travis Job 161.1 | |
2 | 161.2 | 1 |
100.0 |
Travis Job 161.2 | |
3 | 161.3 | 1 |
100.0 |
Travis Job 161.3 |
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
---|