From 0dbeae583a9fe47ed6e7f7ca0f2fb8e47b282b9a Mon Sep 17 00:00:00 2001 From: Erik Marks Date: Thu, 12 Nov 2020 16:41:01 -0800 Subject: [PATCH] Fix mock signature in test --- .../tests/basic-tab-content-component.test.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ui/app/components/app/gas-customization/gas-modal-page-container/basic-tab-content/tests/basic-tab-content-component.test.js b/ui/app/components/app/gas-customization/gas-modal-page-container/basic-tab-content/tests/basic-tab-content-component.test.js index 388dd97b2..2c28fc556 100644 --- a/ui/app/components/app/gas-customization/gas-modal-page-container/basic-tab-content/tests/basic-tab-content-component.test.js +++ b/ui/app/components/app/gas-customization/gas-modal-page-container/basic-tab-content/tests/basic-tab-content-component.test.js @@ -32,7 +32,8 @@ const mockGasPriceButtonGroupProps = { gasEstimateType: GAS_ESTIMATE_TYPES.AVERAGE, }, ], - handleGasPriceSelection: (newPrice) => console.log('NewPrice: ', newPrice), + handleGasPriceSelection: ({ gasPrice }) => + console.log('NewPrice: ', gasPrice), noButtonActiveByDefault: true, showCheck: true, }