Replies: 1 comment
-
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Does anyone use msw for mocking
text/event-stream
responses and test against Firefox?The following works in Chrome but Firefox refuses the
EventSource
connection.I don't think it's a problem with
mockServiceWorker.js
as 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
EventSource
onerror
callback is empty.Has anyone any insights?
Beta Was this translation helpful? Give feedback.
All reactions