mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Add hideEstimatedGasFee prop to sort-list and select-quote-popover tests (#14725)
This commit is contained in:
parent
a5e07b0f18
commit
11831c6ae5
@ -10,6 +10,7 @@ const createProps = (customProps = {}) => {
|
|||||||
swapToSymbol: 'ETH',
|
swapToSymbol: 'ETH',
|
||||||
initialAggId: 'initialAggId',
|
initialAggId: 'initialAggId',
|
||||||
onQuoteDetailsIsOpened: jest.fn(),
|
onQuoteDetailsIsOpened: jest.fn(),
|
||||||
|
hideEstimatedGasFee: false,
|
||||||
...customProps,
|
...customProps,
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -10,6 +10,7 @@ jest.mock(
|
|||||||
|
|
||||||
const createProps = (customProps = {}) => {
|
const createProps = (customProps = {}) => {
|
||||||
return {
|
return {
|
||||||
|
hideEstimatedGasFee: false,
|
||||||
selectedAggId: 'Agg2',
|
selectedAggId: 'Agg2',
|
||||||
onSelect: jest.fn(),
|
onSelect: jest.fn(),
|
||||||
onCaretClick: jest.fn(),
|
onCaretClick: jest.fn(),
|
||||||
|
Loading…
Reference in New Issue
Block a user