testing library
Test helpers: an in-memory WebSocket server to drive a
WebSocketClient without sockets.
Classes
- FakeWebSocketConnection
- The server side of one fake connection.
- FakeWebSocketServer
-
An in-memory WebSocket server for tests. Pass it as
WebSocketOptions.transport; everyconnectcreates a FakeWebSocketConnection that the test drives.