fix spot leverage token endpoint v5

This commit is contained in:
tiagosiebler
2023-02-21 13:30:25 +00:00
parent 6d24317022
commit 00a45e4cd0
4 changed files with 28 additions and 10 deletions

View File

@@ -416,17 +416,16 @@ describe('Private WRITE V5 REST API Endpoints', () => {
leverageToken = tokenResult.result.list[0];
});
// Still failing - in contact with bybit
it.skip('purchaseSpotLeveragedToken()', async () => {
it('purchaseSpotLeveragedToken()', async () => {
expect(
await api.purchaseSpotLeveragedToken({
ltAmount: '100',
amount: '100',
ltCoin: leverageToken.ltCoin,
})
).toMatchObject({
// ...successResponseObjectV3(),
retCode: API_ERROR_CODE.SPOT_LEVERAGE_TOKEN_INSUFFICIENT_BALANCE,
retMsg: '',
retCode: API_ERROR_CODE.SPOT_LEVERAGE_QUIZ_REQUIRED,
// retMsg: '',
});
});