From 976a4e86ab05e8b335cfe7803dbfa4e67c5ffc8c Mon Sep 17 00:00:00 2001 From: tiagosiebler Date: Mon, 30 Oct 2023 14:04:38 +0000 Subject: [PATCH] chore(): skip tests for deprecated API categories --- test/inverse-futures/private.read.test.ts | 2 +- test/inverse-futures/private.write.test.ts | 2 +- test/inverse-futures/public.test.ts | 2 +- test/inverse/private.read.test.ts | 2 +- test/inverse/private.write.test.ts | 2 +- test/inverse/public.test.ts | 2 +- test/inverse/ws.private.test.ts | 6 +++--- test/inverse/ws.public.test.ts | 4 ++-- test/linear/private.read.test.ts | 2 +- test/linear/private.write.test.ts | 2 +- test/linear/public.test.ts | 2 +- test/linear/ws.private.test.ts | 6 +++--- test/linear/ws.public.test.ts | 2 +- 13 files changed, 18 insertions(+), 18 deletions(-) diff --git a/test/inverse-futures/private.read.test.ts b/test/inverse-futures/private.read.test.ts index 00d883a..73d0632 100644 --- a/test/inverse-futures/private.read.test.ts +++ b/test/inverse-futures/private.read.test.ts @@ -2,7 +2,7 @@ import { InverseFuturesClient } from '../../src/inverse-futures-client'; import { getTestProxy } from '../proxy.util'; import { successResponseList, successResponseObject } from '../response.util'; -describe('Private Inverse-Futures REST API GET Endpoints', () => { +describe.skip('Private Inverse-Futures REST API GET Endpoints', () => { const API_KEY = process.env.API_KEY_COM; const API_SECRET = process.env.API_SECRET_COM; diff --git a/test/inverse-futures/private.write.test.ts b/test/inverse-futures/private.write.test.ts index 32f5989..ad15698 100644 --- a/test/inverse-futures/private.write.test.ts +++ b/test/inverse-futures/private.write.test.ts @@ -2,7 +2,7 @@ import { API_ERROR_CODE, InverseFuturesClient } from '../../src'; import { getTestProxy } from '../proxy.util'; import { successResponseObject } from '../response.util'; -describe('Private Inverse-Futures REST API POST Endpoints', () => { +describe.skip('Private Inverse-Futures REST API POST Endpoints', () => { const API_KEY = process.env.API_KEY_COM; const API_SECRET = process.env.API_SECRET_COM; diff --git a/test/inverse-futures/public.test.ts b/test/inverse-futures/public.test.ts index b514324..1f5bbf0 100644 --- a/test/inverse-futures/public.test.ts +++ b/test/inverse-futures/public.test.ts @@ -6,7 +6,7 @@ import { successResponseObject, } from '../response.util'; -describe('Public Inverse-Futures REST API Endpoints', () => { +describe.skip('Public Inverse-Futures REST API Endpoints', () => { const api = new InverseFuturesClient({}, getTestProxy()); const symbol = 'BTCUSD'; diff --git a/test/inverse/private.read.test.ts b/test/inverse/private.read.test.ts index 54a8b3e..7f32d4e 100644 --- a/test/inverse/private.read.test.ts +++ b/test/inverse/private.read.test.ts @@ -2,7 +2,7 @@ import { InverseClient } from '../../src/'; import { getTestProxy } from '../proxy.util'; import { successResponseList, successResponseObject } from '../response.util'; -describe('Private Inverse REST API GET Endpoints', () => { +describe.skip('Private Inverse REST API GET Endpoints', () => { const API_KEY = process.env.API_KEY_COM; const API_SECRET = process.env.API_SECRET_COM; diff --git a/test/inverse/private.write.test.ts b/test/inverse/private.write.test.ts index 2035340..e45efc4 100644 --- a/test/inverse/private.write.test.ts +++ b/test/inverse/private.write.test.ts @@ -3,7 +3,7 @@ import { InverseClient } from '../../src/inverse-client'; import { getTestProxy } from '../proxy.util'; import { successResponseObject } from '../response.util'; -describe('Private Inverse REST API POST Endpoints', () => { +describe.skip('Private Inverse REST API POST Endpoints', () => { const API_KEY = process.env.API_KEY_COM; const API_SECRET = process.env.API_SECRET_COM; diff --git a/test/inverse/public.test.ts b/test/inverse/public.test.ts index 7bce2b6..e951d38 100644 --- a/test/inverse/public.test.ts +++ b/test/inverse/public.test.ts @@ -6,7 +6,7 @@ import { successResponseObject, } from '../response.util'; -describe('Public Inverse REST API Endpoints', () => { +describe.skip('Public Inverse REST API Endpoints', () => { const api = new InverseClient({}, getTestProxy()); const symbol = 'BTCUSD'; diff --git a/test/inverse/ws.private.test.ts b/test/inverse/ws.private.test.ts index b4000ba..bc78fa6 100644 --- a/test/inverse/ws.private.test.ts +++ b/test/inverse/ws.private.test.ts @@ -9,7 +9,7 @@ import { waitForSocketEvent, } from '../ws.util'; -describe('Private Inverse Perps Websocket Client', () => { +describe.skip('Private Inverse Perps Websocket Client', () => { const API_KEY = process.env.API_KEY_COM; const API_SECRET = process.env.API_SECRET_COM; @@ -27,7 +27,7 @@ describe('Private Inverse Perps Websocket Client', () => { key: 'bad', secret: 'bad', }, - getSilentLogger('expect401') + getSilentLogger('expect401'), ); const wsOpenPromise = waitForSocketEvent(badClient, 'open', 2500); @@ -55,7 +55,7 @@ describe('Private Inverse Perps Websocket Client', () => { beforeAll(() => { wsClient = new WebsocketClient( wsClientOptions, - getSilentLogger('expectSuccess') + getSilentLogger('expectSuccess'), ); wsClient.connectPrivate(); }); diff --git a/test/inverse/ws.public.test.ts b/test/inverse/ws.public.test.ts index 305059e..96b75e6 100644 --- a/test/inverse/ws.public.test.ts +++ b/test/inverse/ws.public.test.ts @@ -13,7 +13,7 @@ import { waitForSocketEvent, } from '../ws.util'; -describe('Public Inverse Perps Websocket Client', () => { +describe.skip('Public Inverse Perps Websocket Client', () => { let wsClient: WebsocketClient; const wsClientOptions: WSClientConfigurableOptions = { @@ -66,7 +66,7 @@ describe('Public Inverse Perps Websocket Client', () => { } catch (e) { console.error( `Wait for "${wsTopic}" subscription response exception: `, - e + e, ); } diff --git a/test/linear/private.read.test.ts b/test/linear/private.read.test.ts index 3457c34..cce0f32 100644 --- a/test/linear/private.read.test.ts +++ b/test/linear/private.read.test.ts @@ -2,7 +2,7 @@ import { LinearClient } from '../../src/linear-client'; import { getTestProxy } from '../proxy.util'; import { successResponseList, successResponseObject } from '../response.util'; -describe('Private Linear REST API GET Endpoints', () => { +describe.skip('Private Linear REST API GET Endpoints', () => { const API_KEY = process.env.API_KEY_COM; const API_SECRET = process.env.API_SECRET_COM; diff --git a/test/linear/private.write.test.ts b/test/linear/private.write.test.ts index fda077d..74e55b5 100644 --- a/test/linear/private.write.test.ts +++ b/test/linear/private.write.test.ts @@ -2,7 +2,7 @@ import { LinearClient } from '../../src'; import { getTestProxy } from '../proxy.util'; import { successResponseObject } from '../response.util'; -describe('Private Linear REST API POST Endpoints', () => { +describe.skip('Private Linear REST API POST Endpoints', () => { const API_KEY = process.env.API_KEY_COM; const API_SECRET = process.env.API_SECRET_COM; diff --git a/test/linear/public.test.ts b/test/linear/public.test.ts index d2a2c06..ce504d2 100644 --- a/test/linear/public.test.ts +++ b/test/linear/public.test.ts @@ -6,7 +6,7 @@ import { successResponseObject, } from '../response.util'; -describe('Public Linear REST API Endpoints', () => { +describe.skip('Public Linear REST API Endpoints', () => { const api = new LinearClient({}, getTestProxy()); const symbol = 'BTCUSDT'; diff --git a/test/linear/ws.private.test.ts b/test/linear/ws.private.test.ts index f6bf92a..8a7f683 100644 --- a/test/linear/ws.private.test.ts +++ b/test/linear/ws.private.test.ts @@ -9,7 +9,7 @@ import { waitForSocketEvent, } from '../ws.util'; -describe('Private Linear Perps Websocket Client', () => { +describe.skip('Private Linear Perps Websocket Client', () => { const API_KEY = process.env.API_KEY_COM; const API_SECRET = process.env.API_SECRET_COM; @@ -27,7 +27,7 @@ describe('Private Linear Perps Websocket Client', () => { key: 'bad', secret: 'bad', }, - getSilentLogger('expect401') + getSilentLogger('expect401'), ); const wsOpenPromise = waitForSocketEvent(badClient, 'open', 2500); @@ -59,7 +59,7 @@ describe('Private Linear Perps Websocket Client', () => { beforeAll(() => { wsClient = new WebsocketClient( wsClientOptions, - getSilentLogger('expectSuccess') + getSilentLogger('expectSuccess'), ); wsClient.connectPrivate(); }); diff --git a/test/linear/ws.public.test.ts b/test/linear/ws.public.test.ts index 75647bb..aee4ffc 100644 --- a/test/linear/ws.public.test.ts +++ b/test/linear/ws.public.test.ts @@ -9,7 +9,7 @@ import { waitForSocketEvent, } from '../ws.util'; -describe('Public Linear Perps Websocket Client', () => { +describe.skip('Public Linear Perps Websocket Client', () => { let wsClient: WebsocketClient; const wsClientOptions: WSClientConfigurableOptions = {