chore(deps): update dependency chai-http to v4 #47
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
3.0.0
->4.3.0
Release Notes
chaijs/chai-http
v4.3.0
: / 2019-04-26Compare Source
This feature release allows you to pass a Regular Expression to the
redirectTo
function.Community Contributions
Code Features & Fixes
v4.2.1
: / 2019-01-02Compare Source
This patch fixes usability issues for TypeScript definitions.
Community Contributions
Code Features & Fixes
v4.2.0
: / 2018-08-29Compare Source
This is a minor update that adds TypeScript definitions.
Community Contributions
Code Features & Fixes
v4.1.0
: / 2018-08-03Compare Source
This is a minor update to fix a bug with
keepOpen()
now allowingclose()
to be called, and also some additional support for other http libraries - namely thehttp-errors
library.Community Contributions
Code Features & Fixes
status
/statusCode
to exist on theprototype
(by @austince)keepOpen()
has been called (by @martypdx)v4.0.0
: / 2018-03-22Compare Source
This is a major update to the underlying dependencies and also introduces some breaking changes.
404
, or500
or any other status code cannot be asserted on in thecatch
block, instead must be asserted on in thethen
block. In other words this behaves more akin tofetch
.chai.request(server)
object will automatically close the server connection after the first request. This means if you have code like this:you'll need to change it to:
This is described further in the README
Community Contributions
Code Features & Fixes
statusCode
when asserting .status (by @atom-morgan)agent
(by @yashsriv).redirect()
assertion (by @tonymet)Documentation fixes
.not.redirect
in readme (by @mcky)Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.