From e248c39dc3fb254621c61b2d5fde8fa252798733 Mon Sep 17 00:00:00 2001 From: tiagosiebler Date: Fri, 14 Jun 2024 14:43:10 +0100 Subject: [PATCH] chore(): skip sensitive tests --- test/spot/private.v3.read.test.ts | 7 ------- test/v5/private.read.test.ts | 10 +--------- 2 files changed, 1 insertion(+), 16 deletions(-) diff --git a/test/spot/private.v3.read.test.ts b/test/spot/private.v3.read.test.ts index 9cf055f..2d61be0 100644 --- a/test/spot/private.v3.read.test.ts +++ b/test/spot/private.v3.read.test.ts @@ -84,13 +84,6 @@ describe('Private Spot REST API GET Endpoints', () => { ); }); - it('getLeveragedTokenPRHistory()', async () => { - expect(await api.getLeveragedTokenPRHistory()).toMatchObject({ - ...successResponseObjectV3(), - // retCode: API_ERROR_CODE.ORDER_NOT_FOUND_LEVERAGED_TOKEN, - }); - }); - it('getCrossMarginBorrowingInfo()', async () => { expect(await api.getCrossMarginBorrowingInfo()).toMatchObject( successResponseObjectV3(), diff --git a/test/v5/private.read.test.ts b/test/v5/private.read.test.ts index d8495c8..7282081 100644 --- a/test/v5/private.read.test.ts +++ b/test/v5/private.read.test.ts @@ -276,7 +276,7 @@ describe('Private READ V5 REST API Endpoints', () => { it('getSubAccountAllApiKeys()', async () => { expect( - await api.getSubAccountAllApiKeys({subMemberId: 'fakeid'}) + await api.getSubAccountAllApiKeys({ subMemberId: 'fakeid' }), ).toMatchObject({ // ...successResponseObjectV3(), // Expected, since sub account ID is fake @@ -284,12 +284,4 @@ describe('Private READ V5 REST API Endpoints', () => { }); }); }); - - describe('Spot Leverage Token APIs', () => { - it('getSpotLeveragedTokenOrderHistory()', async () => { - expect(await api.getSpotLeveragedTokenOrderHistory()).toMatchObject({ - ...successResponseObjectV3(), - }); - }); - }); });