From 8d0702f1a70ce1dbab22f2ee7e2b0bffb143d3bb Mon Sep 17 00:00:00 2001 From: tiagosiebler Date: Tue, 24 Jan 2023 11:14:04 +0000 Subject: [PATCH] skip tests reported to bybit --- test/usdc/options/private.write.test.ts | 3 ++- test/usdc/perpetual/private.write.test.ts | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/test/usdc/options/private.write.test.ts b/test/usdc/options/private.write.test.ts index fe3e758..ae8ab53 100644 --- a/test/usdc/options/private.write.test.ts +++ b/test/usdc/options/private.write.test.ts @@ -133,7 +133,8 @@ describe('Private USDC Options REST API POST Endpoints', () => { }); }); - it('setMarginMode()', async () => { + // Reached out to bybit + it.skip('setMarginMode()', async () => { expect(await api.setMarginMode('REGULAR_MARGIN')).toMatchObject( { retCode: API_ERROR_CODE.SET_MARGIN_MODE_FAILED_USDC, diff --git a/test/usdc/perpetual/private.write.test.ts b/test/usdc/perpetual/private.write.test.ts index f70b6ee..df7c16e 100644 --- a/test/usdc/perpetual/private.write.test.ts +++ b/test/usdc/perpetual/private.write.test.ts @@ -69,10 +69,12 @@ describe('Private USDC Perp REST API POST Endpoints', () => { ); }); - it('setMarginMode()', async () => { + // Reached out to bybit + it.skip('setMarginMode()', async () => { expect(await api.setMarginMode('REGULAR_MARGIN')).toMatchObject( { retCode: API_ERROR_CODE.SET_MARGIN_MODE_FAILED_USDC, + retMsg: '', } // successResponseObjectV3() );