We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 28e48d1 commit 3111ec3Copy full SHA for 3111ec3
site/src/utils/OneWayWebSocket.test.ts
site/src/utils/OneWayWebSocket.ts
@@ -15,6 +15,12 @@
15
* browsers implement at least some degree of multiplexing for them. This file
16
* just provides a wrapper to make it harder to use WebSockets for two-way
17
* communication by accident.
18
+ *
19
+ * ---
20
+ * @todo 2025-02-24 - Add tests for this class. Originally tried to add unit
21
+ * tests via MSW's WS namespace, but couldn't figure out how to get the tests to
22
+ * work reliably. This wrapper class is lightweight enough that if something
23
+ * breaks, there's probably something wrong with the browser itself.
24
*/
25
26
// Not bothering with trying to borrow methods from the base WebSocket type
0 commit comments