chore(): lint for trailing commas, fix tests with new types
This commit is contained in:
@@ -24,12 +24,12 @@ export const fullLogger = {
|
||||
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(
|
||||
`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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user