From 662de8b9c630e0b65b7782da2e87c52078e0e623 Mon Sep 17 00:00:00 2001 From: tiagosiebler Date: Mon, 11 Dec 2023 09:47:53 +0000 Subject: [PATCH] chore(): skip old USDC ws tests --- test/usdc/perpetual/ws.private.test.ts | 8 ++++---- test/usdc/perpetual/ws.public.test.ts | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/test/usdc/perpetual/ws.private.test.ts b/test/usdc/perpetual/ws.private.test.ts index e9011d4..99c314f 100644 --- a/test/usdc/perpetual/ws.private.test.ts +++ b/test/usdc/perpetual/ws.private.test.ts @@ -14,7 +14,7 @@ import { waitForSocketEvent, } from '../../ws.util'; -describe('Private USDC Perp Websocket Client', () => { +describe.skip('Private USDC Perp Websocket Client', () => { const API_KEY = process.env.API_KEY_COM; const API_SECRET = process.env.API_SECRET_COM; @@ -36,7 +36,7 @@ describe('Private USDC Perp Websocket Client', () => { reconnectTimeout: 10000, }, // fullLogger - getSilentLogger('expect401') + getSilentLogger('expect401'), ); // logAllEvents(badClient); @@ -77,7 +77,7 @@ describe('Private USDC Perp Websocket Client', () => { beforeAll(() => { wsClient = new WebsocketClient( wsClientOptions, - getSilentLogger('expectSuccess') + getSilentLogger('expectSuccess'), ); wsClient.connectPrivate(); // logAllEvents(wsClient); @@ -131,7 +131,7 @@ describe('Private USDC Perp Websocket Client', () => { } catch (e) { console.error( `Wait for "${wsTopic}" subscription response exception: `, - e + e, ); expect(e).toBeFalsy(); } diff --git a/test/usdc/perpetual/ws.public.test.ts b/test/usdc/perpetual/ws.public.test.ts index a44db83..ae8b6b9 100644 --- a/test/usdc/perpetual/ws.public.test.ts +++ b/test/usdc/perpetual/ws.public.test.ts @@ -9,7 +9,7 @@ import { waitForSocketEvent, } from '../../ws.util'; -describe('Public USDC Perp Websocket Client', () => { +describe.skip('Public USDC Perp Websocket Client', () => { let wsClient: WebsocketClient; const wsClientOptions: WSClientConfigurableOptions = { @@ -19,7 +19,7 @@ describe('Public USDC Perp Websocket Client', () => { beforeAll(() => { wsClient = new WebsocketClient( wsClientOptions, - getSilentLogger('expectSuccessNoAuth') + getSilentLogger('expectSuccessNoAuth'), ); wsClient.connectPublic(); // logAllEvents(wsClient);