diff --git a/test/usdc/options/private.write.test.ts b/test/usdc/options/private.write.test.ts index 194287e..fe3e758 100644 --- a/test/usdc/options/private.write.test.ts +++ b/test/usdc/options/private.write.test.ts @@ -135,7 +135,10 @@ describe('Private USDC Options REST API POST Endpoints', () => { it('setMarginMode()', async () => { expect(await api.setMarginMode('REGULAR_MARGIN')).toMatchObject( - successResponseObjectV3() + { + retCode: API_ERROR_CODE.SET_MARGIN_MODE_FAILED_USDC, + } + // successResponseObjectV3() ); }); diff --git a/test/usdc/perpetual/private.write.test.ts b/test/usdc/perpetual/private.write.test.ts index 9eaf4ba..f70b6ee 100644 --- a/test/usdc/perpetual/private.write.test.ts +++ b/test/usdc/perpetual/private.write.test.ts @@ -73,7 +73,6 @@ describe('Private USDC Perp REST API POST Endpoints', () => { expect(await api.setMarginMode('REGULAR_MARGIN')).toMatchObject( { retCode: API_ERROR_CODE.SET_MARGIN_MODE_FAILED_USDC, - retMsg: '', } // successResponseObjectV3() );