fix: unit tests

This commit is contained in:
Madalina Raicu 2024-03-06 10:11:30 +00:00
parent 72437bd679
commit da07e6f687
No known key found for this signature in database
GPG Key ID: 688B7B31149C1DCD

View File

@ -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',