Ran
|
Jobs
1
|
Files
12
|
Run time
2s
|
Badge
Embed ▾
README BADGES
|
travis-ci
refactor(interceptor): remove dead code for casting body to string `Interceptor.match` is only called by the Request Overrider in the `end` function. Only the first call on line 245 ever uses the `body` arg. https://github.com/nock/nock/blob/2c4edba93/lib/request_overrider.js#L225-L253 Note that the logic block one lines 225-229 ensures that the `requestBody` variable is always a string. Also, moved the call to `transformRequestBodyFunction` way down to just before `matchBody` is called, just so it isn't unnecessarily called if any of the non-body matches fail before it gets to that point.
788 of 793 branches covered (99.37%)
Branch coverage included in aggregate %.
2 of 2 new or added lines in 1 file covered. (100.0%)
1474 of 1475 relevant lines covered (99.93%)
155.73 hits per line
ID | Job ID | Ran | Files | Coverage | |
---|---|---|---|---|---|
4 | 3443.4 | 12 |
99.74 |
Travis Job 3443.4 |
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
---|