improve private ws tests

This commit is contained in:
tiagosiebler
2022-09-15 16:47:39 +01:00
parent 1b422a1beb
commit 27bd81593c
4 changed files with 167 additions and 84 deletions

View File

@@ -13,7 +13,7 @@ export const WS_OPEN_EVENT_PARTIAL = {
type: 'open',
};
/** Resolves a promise if an event is seen before a timeout (defaults to 2.5 seconds) */
/** Resolves a promise if an event is seen before a timeout (defaults to 4.5 seconds) */
export function waitForSocketEvent(
wsClient: WebsocketClient,
event: WsClientEvent,