Skip to content

chore(deps): update dependency chai-http to v4 #47

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Jun 26, 2018

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
chai-http 3.0.0 -> 4.3.0 age adoption passing confidence

Release Notes

chaijs/chai-http

v4.3.0: / 2019-04-26

Compare Source

This feature release allows you to pass a Regular Expression to the redirectTo function.

expect(res).to.redirectTo(/^\/search\/results\?orderBy=desc$/);
Community Contributions
Code Features & Fixes

v4.2.1: / 2019-01-02

Compare Source

This patch fixes usability issues for TypeScript definitions.

Community Contributions
Code Features & Fixes

v4.2.0: / 2018-08-29

Compare Source

This is a minor update that adds TypeScript definitions.

Community Contributions
Code Features & Fixes

v4.1.0: / 2018-08-03

Compare Source

This is a minor update to fix a bug with keepOpen() now allowing close() to be called, and also some additional support for other http libraries - namely the http-errors library.

Community Contributions
Code Features & Fixes

v4.0.0: / 2018-03-22

Compare Source

This is a major update to the underlying dependencies and also introduces some breaking changes.

  • The biggest breaking change is that this library will _no longer throw based on the status code! This means a request that returns a 404, or 500 or any other status code cannot be asserted on in the catch block, instead must be asserted on in the then block. In other words this behaves more akin to fetch.
  • Another large breaking change is that the chai.request(server) object will automatically close the server connection after the first request. This means if you have code like this:
const request = chai.request(app)

request.get('/bar')
request.get('/bar')

you'll need to change it to:

const request = chai.request(app).keepOpen()

request.get('/bar')
request.get('/bar')

This is described further in the README

Community Contributions
Code Features & Fixes
Documentation fixes

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.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/chai-http-4.x branch from 6564a5f to bcb04e8 Compare August 29, 2018 16:19
@renovate renovate bot force-pushed the renovate/chai-http-4.x branch from bcb04e8 to 3b412f1 Compare January 2, 2019 10:11
@renovate renovate bot force-pushed the renovate/chai-http-4.x branch from 3b412f1 to 7617761 Compare May 4, 2019 14:56
@renovate
Copy link
Author

renovate bot commented Mar 24, 2023

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant