Closed a11rew closed 3 weeks ago
Hi, @a11rew. Thanks for adding the test!
I will take a look at this once we merge #515. The latter is a huge rework in the http interception in Node.js, and I suspect that it may solve this issue already.
Hi, @a11rew 👋 I've updated the branch and fixed the tests, they are passing now. Can you please confirm that the issue you were experiencing has been fixed on the latest version of Interceptors?
I've added redirect response tests for Axios, they are passing as well! This looks ready to be merged.
Oh, don't mind me, I'm a dufus. The redirect to mock test was failing because I use .once()
for the request listener. Fixed that, all the tests are passing! 🎉
This has been released in v0.35.0!
Make sure to always update to the latest version (npm i @mswjs/interceptors@latest
) to get the newest features and bug fixes.
Predictable release automation by @ossjs/release.
Overview
Adds failing test case (and fix, wip) for MSW issue #2177 - "follow-redirects" throwing an error when it receives a redirect response from an interceptor