Testing a component that uses WebSockets, without a real server
A component that talks to a REST API is easy to test. You mock the HTTP call, resolve it with fixture data, assert on the render. A component that talks to a WebSocket is a different animal, and most


