fix(deal-ticket): broken test

This commit is contained in:
Matthew Russell 2024-03-22 17:09:58 +00:00
parent 4d566f5a5f
commit 678ba9c4f7
No known key found for this signature in database

View File

@ -18,7 +18,7 @@ describe('useMaxSize', () => {
marginAccountBalance: '0',
accountDecimals,
price: removeDecimal('8', decimalPlaces), // 8.0
marketPrice: removeDecimal('10', decimalPlaces), // 10.0
markPrice: removeDecimal('10', decimalPlaces), // 10.0
decimalPlaces,
activeOrders: [],
riskFactors: {
@ -29,6 +29,7 @@ describe('useMaxSize', () => {
scalingFactors: {
initialMargin: 1.5,
},
marketIsInAuction: false,
};
const renderUseMaxSizeHook = (initialProps: UseMaxSizeProps) =>