slight logger improvement for test

This commit is contained in:
tiagosiebler
2022-09-16 00:51:18 +01:00
parent bd09cf8109
commit a9dd6face9
7 changed files with 43 additions and 23 deletions

View File

@@ -6,7 +6,7 @@ import {
import {
logAllEvents,
promiseSleep,
silentLogger,
getSilentLogger,
waitForSocketEvent,
WS_OPEN_EVENT_PARTIAL,
} from '../ws.util';
@@ -28,7 +28,10 @@ describe('Private Spot V1 Websocket Client', () => {
};
beforeAll(() => {
wsClient = new WebsocketClient(wsClientOptions, silentLogger);
wsClient = new WebsocketClient(
wsClientOptions,
getSilentLogger('expectSuccess')
);
logAllEvents(wsClient);
});