chore(): cleaned up old tests

This commit is contained in:
Jerko J
2024-09-30 17:43:26 +02:00
parent 027057105c
commit f687a35100
37 changed files with 2 additions and 3458 deletions

View File

@@ -31,13 +31,13 @@ export const WS_OPEN_EVENT_PARTIAL = {
export function waitForSocketEvent(
wsClient: WebsocketClient,
event: WsClientEvent,
timeoutMs: number = 4.5 * 1000
timeoutMs: number = 4.5 * 1000,
) {
return new Promise((resolve, reject) => {
const timeout = setTimeout(() => {
reject(
// eslint-disable-next-line max-len
`Failed to receive "${event}" event before timeout. Check that these are correct: topic, api keys (if private), signature process (if private)`
`Failed to receive "${event}" event before timeout. Check that these are correct: topic, api keys (if private), signature process (if private)`,
);
}, timeoutMs);