Skip to content

Commit 531979b

Browse files
committed
docs: mention websocket support
1 parent c3ca399 commit 531979b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,3 +65,9 @@ test('displays the user dashboard', async ({ worker, page }) => {
6565
await page.goto('/dashboard')
6666
})
6767
```
68+
69+
## Limitations
70+
71+
### WebSocket support
72+
73+
This library _does not support mocking WebSockets_ at the moment. That support requires a refactoring on MSW side to expose `handleWebSocketEvent()` and simplify its call signature (it really only needs the client url). Once that refactoring is done, we will use `page.routeWebSocket()` to provision the WebSocket support.

0 commit comments

Comments
 (0)