-
-
Notifications
You must be signed in to change notification settings - Fork 536
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
Bypassed requests made to the firebase emulator result in a timeout #636
Comments
I'm also seeing the same problem. I got around it temporarily with this which very clean haha.
|
Hi @rdjpalmer, we are sorry that you're facing this issue. This is caused by streams used by firestore. I have created a PR with issue #602. A temporary workaround is to comment these lines Lines 120 to 134 in ec64cdd
|
@marcosvega91 I don't think this works for setupServer? |
I didn't see that the issue was for |
As for the mocked request also bypass request should have the readyState set to 4 (DONE) when a response is received fix: mswjs/msw#636
I have opened a PR here that should resolve this issue |
As for the mocked request also bypass request should have the readyState set to 4 (DONE) when a response is received fix: mswjs/msw#636
As for the mocked request also bypass request should have the readyState set to 4 (DONE) when a response is received fix: mswjs/msw#636
As for the mocked request also bypass request should have the readyState set to 4 (DONE) when a response is received fix: mswjs/msw#636
It's the case to leave the issue opened until |
@marcosvega91, let's leave it closed, update NRI, and then let the users test it out. |
@marcosvega91 thanks for looking into this so quickly. Much appreciated. I'll test the fix out as soon as I get a chance |
It's taken me awhile, but I've finally tested the fix. Works a treat, thanks @marcosvega91! |
Describe the bug
Bypassed requests made to the firebase emulator result in a timeout.
Environment
msw: 0.27.0
nodejs: 15.0.1
npm: 7.0.3
jest: 26.0.1
To Reproduce
See repro case
Expected behavior
Requests made to the firebase emulator should bypass msw entirely, and succeed.
Additional information
I've tried also supplying handlers which should still result in msw being bypassed, per #234 (comment).
Might be that this is tied to #414.
The text was updated successfully, but these errors were encountered: