From 28485c00683fff4d406836f56a11d86e6853056d Mon Sep 17 00:00:00 2001 From: tiagosiebler Date: Fri, 16 Sep 2022 00:56:00 +0100 Subject: [PATCH] fix tests --- test/inverse/ws.public.test.ts | 4 ++-- test/linear/ws.public.test.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/test/inverse/ws.public.test.ts b/test/inverse/ws.public.test.ts index 6d522fc..709421c 100644 --- a/test/inverse/ws.public.test.ts +++ b/test/inverse/ws.public.test.ts @@ -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(); }); diff --git a/test/linear/ws.public.test.ts b/test/linear/ws.public.test.ts index cf57156..ee1dd27 100644 --- a/test/linear/ws.public.test.ts +++ b/test/linear/ws.public.test.ts @@ -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(); });