-
Notifications
You must be signed in to change notification settings - Fork 759
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
Tests with error return fail with version 3.4.0 #534
Comments
Hello @ilkkaparssinen, Thank you for your feedback, we're investigating this issue. |
Hi there, I am experiencing a similar issue with the update. Here is a gist of the error output: https://gist.github.com/4cm4k1/f1e9bd3d88c3ce1d069de8554a5b411b Here are the tests being run: https://github.com/4cm4k1/domain-redirects/blob/master/test/index.js I hope this helps! |
Thank you @4cm4k1 ! |
Hi, I am also experiencing the same issue! |
Here's another build failure that may help, https://circleci.com/gh/Financial-Times/tako/175. |
Hi, I have the same issue. But I am not familiar with that area. |
@gergaczd You right, this issue is related with superagent. After that, we'll make a hard refactoring because, all tests are OK. It's not normal. |
A pull request has been created to hotfix that: #535 🚀 |
same here |
Hotfix #535 fixes my problems (tested by changing my package.json to branch v3.4.1): |
Thanks @ilkkaparssinen. The hotfix #535 has been published. |
When using version 3.4.0 tests that test for backend returning an error (400) fail. Example:
When using version 3.4.0 this test fails with "Bad request" error even when backend returns correctly 400 status code.
With supertest 3.3.0 code works as expected.
The text was updated successfully, but these errors were encountered: