Skip to content

Commit 6e3e0d8

Browse files
committed
fix: remove comment about what to test
1 parent 247dbb6 commit 6e3e0d8

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

site/src/utils/OneWayWebSocket.test.ts

-9
Original file line numberDiff line numberDiff line change
@@ -131,15 +131,6 @@ function createMockWebSocket(
131131
};
132132
}
133133

134-
/**
135-
* Qualities to test:
136-
* 1. Lets a consumer to add an event listener of each type
137-
* 2. Lets a consumer to add multiple event listeners of each type
138-
* 3. Registering a callback that is already registered will do nothing
139-
* 4. Surfaces a parse error if a message is not formatted as JSON
140-
* 4. Lets a consumer remove event listeners of each type
141-
* 5. Closing the socket renders it inert
142-
*/
143134
describe(OneWayWebSocket.name, () => {
144135
const dummyRoute = "/api/v2/blah";
145136

0 commit comments

Comments
 (0)