Replies: 2 comments
-
|
Hi, @kgibb. Thanks for raising this. Can you try #2299? It's work-in-progress but it should work everywhere. If you can verify the issue persists with that API as well that'd be great. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Hi @kgibb! I also use MSW for mocking SSE and I've attached a screenshot of errors in #2117. Are these the same errors you're encountering? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Does anyone use msw for mocking
text/event-streamresponses and test against Firefox?The following works in Chrome but Firefox refuses the
EventSourceconnection.I don't think it's a problem with
mockServiceWorker.jsas I can fetch and read the stream in the browser console. The response signature is very similar to an actual server which Firefox does allow.The error in the
EventSourceonerrorcallback is empty.Has anyone any insights?
Beta Was this translation helpful? Give feedback.
All reactions