Ran
|
Jobs
1
|
Files
13
|
Run time
7s
|
Badge
Embed ▾
README BADGES
|
push
travis-ci
<a href="https://github.com/nock/nock/commit/<a class=hub.com/nock/nock/commit/8e672aa1b9684ff2b394c93a332c5597f1e26348">8e672aa1b<a href="https://github.com/nock/nock/commit/8e672aa1b9684ff2b394c93a332c5597f1e26348">">docs: Remove unnecessary uses of filteringRequestBody. (#1578) Before v2.0, it was not possible to **not** filter on request bodies. For [users wanting](https://github.com/nock/nock/issues/39) to match regardless of the request body, a [convention](https://github.com/nock/nock/commit/</a><a class="double-link" href="https://github.com/nock/nock/commit/<a class="double-link" href="https://github.com/nock/nock/commit/460aac919149fb190e910117c10c82f9d0e4c68e">460aac919</a>">460aac919</a><a href="https://github.com/nock/nock/commit/8e672aa1b9684ff2b394c93a332c5597f1e26348">) became the norm of using `filteringRequestBody` to modify the body into a special string (`*`) then match against that specific string in the Interceptor. In more recent versions, the preferred way to not match request bodies is to not provide a body argument when creating an Interceptor. This updates the docs to reflect that.
788 of 825 branches covered (95.52%)
Branch coverage included in aggregate %.
1456 of 1475 relevant lines covered (98.71%)
182.39 hits per line
ID | Job ID | Ran | Files | Coverage | |
---|---|---|---|---|---|
4 | 3294.4 | 13 |
97.57 |
Travis Job 3294.4 |
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
---|