Overwrites a generated API's fetch and WebSocket connect methods with a mocked fetch function and
a mocked WebSocket constructor so you can have full control over them for unit-testing purposes.
With this, you can unit test your clients without spinning up a mock API server.
Overwrites a generated API's fetch and WebSocket connect methods with a mocked fetch function and a mocked WebSocket constructor so you can have full control over them for unit-testing purposes.
With this, you can unit test your clients without spinning up a mock API server.