fix() consistent 5x leverage test
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user