Returns the most recently constructed MockWebSocket instance. Throws if none has been constructed yet (typically because the test did not call client.connectWebSocket(...) with webSocketConstructor: MockWebSocket in its params).
client.connectWebSocket(...)
webSocketConstructor: MockWebSocket
@rest-vir/api
Returns the most recently constructed MockWebSocket instance. Throws if none has been constructed yet (typically because the test did not call
client.connectWebSocket(...)withwebSocketConstructor: MockWebSocketin its params).