From 11831c6ae5915ea9f883f7873ce908b75afc5dab Mon Sep 17 00:00:00 2001 From: Thomas Huang Date: Thu, 19 May 2022 10:43:31 -0700 Subject: [PATCH] Add hideEstimatedGasFee prop to sort-list and select-quote-popover tests (#14725) --- ui/pages/swaps/select-quote-popover/select-quote-popover.test.js | 1 + ui/pages/swaps/select-quote-popover/sort-list/sort-list.test.js | 1 + 2 files changed, 2 insertions(+) diff --git a/ui/pages/swaps/select-quote-popover/select-quote-popover.test.js b/ui/pages/swaps/select-quote-popover/select-quote-popover.test.js index 1eaa99738..705cec192 100644 --- a/ui/pages/swaps/select-quote-popover/select-quote-popover.test.js +++ b/ui/pages/swaps/select-quote-popover/select-quote-popover.test.js @@ -10,6 +10,7 @@ const createProps = (customProps = {}) => { swapToSymbol: 'ETH', initialAggId: 'initialAggId', onQuoteDetailsIsOpened: jest.fn(), + hideEstimatedGasFee: false, ...customProps, }; }; diff --git a/ui/pages/swaps/select-quote-popover/sort-list/sort-list.test.js b/ui/pages/swaps/select-quote-popover/sort-list/sort-list.test.js index 1b594ba3c..51a53b3bf 100644 --- a/ui/pages/swaps/select-quote-popover/sort-list/sort-list.test.js +++ b/ui/pages/swaps/select-quote-popover/sort-list/sort-list.test.js @@ -10,6 +10,7 @@ jest.mock( const createProps = (customProps = {}) => { return { + hideEstimatedGasFee: false, selectedAggId: 'Agg2', onSelect: jest.fn(), onCaretClick: jest.fn(),