fix() consistent 5x leverage test

This commit is contained in:
tiagosiebler
2023-04-02 11:18:40 +01:00
parent 6eb84cc8cc
commit ad360f8626

View File

@@ -181,8 +181,8 @@ describe('Private WRITE V5 REST API Endpoints', () => {
expect( expect(
await api.setLeverage({ await api.setLeverage({
category: 'linear', category: 'linear',
buyLeverage: '10', buyLeverage: '5',
sellLeverage: '10', sellLeverage: '5',
symbol: linearSymbol, symbol: linearSymbol,
}) })
).toMatchObject({ ).toMatchObject({
@@ -196,8 +196,8 @@ describe('Private WRITE V5 REST API Endpoints', () => {
expect( expect(
await api.switchIsolatedMargin({ await api.switchIsolatedMargin({
category: 'linear', category: 'linear',
buyLeverage: '10', buyLeverage: '5',
sellLeverage: '10', sellLeverage: '5',
symbol: linearSymbol, symbol: linearSymbol,
// isolated // isolated
tradeMode: 1, tradeMode: 1,