slight logger improvement for test
This commit is contained in:
@@ -5,7 +5,7 @@ import {
|
||||
WS_KEY_MAP,
|
||||
} from '../../src';
|
||||
import {
|
||||
silentLogger,
|
||||
getSilentLogger,
|
||||
waitForSocketEvent,
|
||||
WS_OPEN_EVENT_PARTIAL,
|
||||
} from '../ws.util';
|
||||
@@ -29,7 +29,7 @@ describe('Private Spot V3 Websocket Client', () => {
|
||||
key: 'bad',
|
||||
secret: 'bad',
|
||||
},
|
||||
silentLogger
|
||||
getSilentLogger('expect401')
|
||||
);
|
||||
|
||||
// const wsOpenPromise = waitForSocketEvent(badClient, 'open');
|
||||
@@ -63,7 +63,10 @@ describe('Private Spot V3 Websocket Client', () => {
|
||||
});
|
||||
|
||||
beforeAll(() => {
|
||||
wsClient = new WebsocketClient(wsClientOptions, silentLogger);
|
||||
wsClient = new WebsocketClient(
|
||||
wsClientOptions,
|
||||
getSilentLogger('expectSuccess')
|
||||
);
|
||||
wsClient.connectPrivate();
|
||||
// logAllEvents(wsClient);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user