fix(deal-ticket): broken test
This commit is contained in:
parent
4d566f5a5f
commit
678ba9c4f7
@ -18,7 +18,7 @@ describe('useMaxSize', () => {
|
|||||||
marginAccountBalance: '0',
|
marginAccountBalance: '0',
|
||||||
accountDecimals,
|
accountDecimals,
|
||||||
price: removeDecimal('8', decimalPlaces), // 8.0
|
price: removeDecimal('8', decimalPlaces), // 8.0
|
||||||
marketPrice: removeDecimal('10', decimalPlaces), // 10.0
|
markPrice: removeDecimal('10', decimalPlaces), // 10.0
|
||||||
decimalPlaces,
|
decimalPlaces,
|
||||||
activeOrders: [],
|
activeOrders: [],
|
||||||
riskFactors: {
|
riskFactors: {
|
||||||
@ -29,6 +29,7 @@ describe('useMaxSize', () => {
|
|||||||
scalingFactors: {
|
scalingFactors: {
|
||||||
initialMargin: 1.5,
|
initialMargin: 1.5,
|
||||||
},
|
},
|
||||||
|
marketIsInAuction: false,
|
||||||
};
|
};
|
||||||
|
|
||||||
const renderUseMaxSizeHook = (initialProps: UseMaxSizeProps) =>
|
const renderUseMaxSizeHook = (initialProps: UseMaxSizeProps) =>
|
||||||
|
Loading…
Reference in New Issue
Block a user