fix tests

This commit is contained in:
tiagosiebler
2022-09-16 00:56:00 +01:00
parent a9dd6face9
commit 28485c0068
2 changed files with 4 additions and 4 deletions

View File

@@ -6,7 +6,7 @@ import {
} from '../../src'; } from '../../src';
import { import {
promiseSleep, promiseSleep,
silentLogger, getSilentLogger,
waitForSocketEvent, waitForSocketEvent,
WS_OPEN_EVENT_PARTIAL, WS_OPEN_EVENT_PARTIAL,
} from '../ws.util'; } from '../ws.util';
@@ -19,7 +19,7 @@ describe('Public Inverse Perps Websocket Client', () => {
}; };
beforeAll(() => { beforeAll(() => {
wsClient = new WebsocketClient(wsClientOptions, silentLogger); wsClient = new WebsocketClient(wsClientOptions, getSilentLogger('public'));
wsClient.connectPublic(); wsClient.connectPublic();
}); });

View File

@@ -4,7 +4,7 @@ import {
WS_KEY_MAP, WS_KEY_MAP,
} from '../../src'; } from '../../src';
import { import {
silentLogger, getSilentLogger,
waitForSocketEvent, waitForSocketEvent,
WS_OPEN_EVENT_PARTIAL, WS_OPEN_EVENT_PARTIAL,
} from '../ws.util'; } from '../ws.util';
@@ -17,7 +17,7 @@ describe('Public Linear Perps Websocket Client', () => {
}; };
beforeAll(() => { beforeAll(() => {
wsClient = new WebsocketClient(wsClientOptions, silentLogger); wsClient = new WebsocketClient(wsClientOptions, getSilentLogger('public'));
wsClient.connectPublic(); wsClient.connectPublic();
}); });