Skip to content

Commit 7a27263

Browse files
committed
docs: add more clarification
1 parent 3111ec3 commit 7a27263

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

site/src/utils/OneWayWebSocket.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,10 @@
2020
* @todo 2025-02-24 - Add tests for this class. Originally tried to add unit
2121
* tests via MSW's WS namespace, but couldn't figure out how to get the tests to
2222
* work reliably. This wrapper class is lightweight enough that if something
23-
* breaks, there's probably something wrong with the browser itself.
23+
* breaks, there's probably something wrong with the browser itself. Note that
24+
* if we do bring in MSW's WS namespace with Jest, we will need to switch Jest
25+
* to use jest-fixed-jsdom
26+
* {@link https://github.com/mswjs/jest-fixed-jsdom}
2427
*/
2528

2629
// Not bothering with trying to borrow methods from the base WebSocket type

0 commit comments

Comments
 (0)