Skip to content

Commit 3111ec3

Browse files
committed
chore: give up on tests
1 parent 28e48d1 commit 3111ec3

File tree

2 files changed

+6
-13
lines changed

2 files changed

+6
-13
lines changed

site/src/utils/OneWayWebSocket.test.ts

Lines changed: 0 additions & 13 deletions
This file was deleted.

site/src/utils/OneWayWebSocket.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,12 @@
1515
* browsers implement at least some degree of multiplexing for them. This file
1616
* just provides a wrapper to make it harder to use WebSockets for two-way
1717
* 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.
1824
*/
1925

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

0 commit comments

Comments
 (0)