Update chai-http to the latest version 🚀#24
Open
greenkeeper[bot] wants to merge 1 commit intomasterfrom
Open
Conversation
Author
Version 4.1.0 just got published.Update to this version instead 🚀 Release Notes4.1.0 / 2018-08-03This is a minor update to fix a bug with Community ContributionsCode Features & FixesCommitsThe new version differs by 6 commits.
See the full diff |
Author
Version 4.2.0 just got published.Update to this version instead 🚀 Release Notes4.2.0 / 2018-08-29This is a minor update that adds TypeScript definitions. Community ContributionsCode Features & Fixes |
Author
Update to this version instead 🚀 Release Notes for 4.2.1 / 2019-01-02This patch fixes usability issues for TypeScript definitions. Community ContributionsCode Features & FixesCommitsThe new version differs by 5 commits.
See the full diff |
Author
Update to this version instead 🚀 Release Notes for 4.3.0 / 2019-04-26This feature release allows you to pass a Regular Expression to the expect(res).to.redirectTo(/^\/search\/results\?orderBy=desc$/); Community ContributionsCode Features & Fixes
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
☝️ Greenkeeper’s updated Terms of Service will come into effect on April 6th, 2018.
Version 4.0.0 of chai-http was just published.
The version 4.0.0 is not covered by your current version range.
If you don’t accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.
It might be worth looking into these changes and trying to get this project onto the latest version of chai-http.
If you have a solid test suite and good coverage, a passing build is a strong indicator that you can take advantage of these changes directly by merging the proposed change into your project. If the build fails or you don’t have such unconditional trust in your tests, this branch is a great starting point for you to work on the update.
Release Notes
4.0.0 / 2018-03-22This is a major update to the underlying dependencies and also introduces some breaking changes.
404, or500or any other status code cannot be asserted on in thecatchblock, instead must be asserted on in thethenblock. 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
statusCodewhen asserting .status (by @atom-morgan)agent(by @yashsriv).redirect()assertion (by @tonymet)Documentation fixes
.not.redirectin readme (by @mcky)Commits
The new version differs by 54 commits.
d9a8d1f4.0.0 (#202)a315dd0chore(package): fixed license typo (#199)832f6c2docs: add note about agent server not closing (close #188) (#190)cee5dbdMerge pull request #184 from chaijs/fix-1783d7ab70feat(node-request): close connections after requestd3d9ec6chore(package): update devdependenciese2e80cechore(package): update all package versions80c880cchore(package): update superagent to 3.7 (#183)80b4efbdocs: add chai.expect usage to readme (#173)2604c3bmention login in the persistent session guide (#167)77a7a93docs: fix form test example in README (#166)6e88c38Merge pull request #131 from meeber/chai-v47426715Update for Chai v4.0cf52191Merge pull request #160 from mcky/patch-1dfffa63Add to.not.redirect example to READMEThere are 54 commits in total.
See the full diff
FAQ and help
There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper bot 🌴