1
0
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:
Thomas Huang 2022-05-19 10:43:31 -07:00 committed by GitHub
parent a5e07b0f18
commit 11831c6ae5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -10,6 +10,7 @@ const createProps = (customProps = {}) => {
swapToSymbol: 'ETH',
initialAggId: 'initialAggId',
onQuoteDetailsIsOpened: jest.fn(),
hideEstimatedGasFee: false,
...customProps,
};
};

View File

@ -10,6 +10,7 @@ jest.mock(
const createProps = (customProps = {}) => {
return {
hideEstimatedGasFee: false,
selectedAggId: 'Agg2',
onSelect: jest.fn(),
onCaretClick: jest.fn(),