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

View File

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