10000
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 247dbb6 commit 6e3e0d8Copy full SHA for 6e3e0d8
site/src/utils/OneWayWebSocket.test.ts
@@ -131,15 +131,6 @@ function createMockWebSocket(
131
};
132
}
133
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
- */
143
describe(OneWayWebSocket.name, () => {
144
const dummyRoute = "/api/v2/blah";
145
0 commit comments