fix: unit tests
This commit is contained in:
parent
72437bd679
commit
da07e6f687
@ -236,11 +236,11 @@ describe('mapFormValuesToTakeProfitAndStopLoss', () => {
|
||||
marketId: 'marketId',
|
||||
postOnly: false,
|
||||
price: undefined,
|
||||
reduceOnly: false,
|
||||
reduceOnly: true,
|
||||
reference: 'reference',
|
||||
side: Schema.Side.SIDE_SELL,
|
||||
size: '10000',
|
||||
timeInForce: OrderTimeInForce.TIME_IN_FORCE_GTC,
|
||||
timeInForce: OrderTimeInForce.TIME_IN_FORCE_FOK,
|
||||
type: OrderType.TYPE_MARKET,
|
||||
},
|
||||
price: '600000',
|
||||
@ -393,11 +393,11 @@ describe('mapFormValuesToTakeProfitAndStopLoss', () => {
|
||||
marketId: 'marketId',
|
||||
postOnly: false,
|
||||
price: undefined,
|
||||
reduceOnly: false,
|
||||
reduceOnly: true,
|
||||
reference: 'reference',
|
||||
side: Schema.Side.SIDE_SELL,
|
||||
size: '10000',
|
||||
timeInForce: OrderTimeInForce.TIME_IN_FORCE_GTC,
|
||||
timeInForce: OrderTimeInForce.TIME_IN_FORCE_FOK,
|
||||
type: OrderType.TYPE_MARKET,
|
||||
},
|
||||
price: '600000',
|
||||
|
Loading…
Reference in New Issue
Block a user