The cat is out of the bag: MSW now supports mocking WebSocket APIs! 🥳
This makes it the first API mocking library in JavaScript to support all major API types. Seamless, client-agnostic and standard-based, as usual.
Learn about why it took 4 years to ship:
https://mswjs.io/blog/enter-websockets
This makes it the first API mocking library in JavaScript to support all major API types. Seamless, client-agnostic and standard-based, as usual.
Learn about why it took 4 years to ship:
https://mswjs.io/blog/enter-websockets
Comments
SSE is not really connected to WebSockets, so I've started with its support a few weeks ago: https://github.com/mswjs/msw/pull/2299. And, well, it's almost done.