fix tests
This commit is contained in:
@@ -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();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@@ -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();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user