1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

Fix props for BasicTabContent component tests (#7850)

This commit is contained in:
Whymarrh Whitby 2020-01-16 18:19:01 -03:30 committed by GitHub
parent b4ca671b6b
commit 7c7f121fe3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,6 +5,7 @@ import BasicTabContent from '../basic-tab-content.component'
import GasPriceButtonGroup from '../../../gas-price-button-group'
import Loading from '../../../../../ui/loading-screen'
import { GAS_ESTIMATE_TYPES } from '../../../../../../helpers/constants/common'
const mockGasPriceButtonGroupProps = {
buttonDataLoading: false,
@ -15,18 +16,21 @@ const mockGasPriceButtonGroupProps = {
feeInSecondaryCurrency: '0.0048 ETH',
timeEstimate: '~ 1 min 0 sec',
priceInHexWei: '0xa1b2c3f',
gasEstimateType: GAS_ESTIMATE_TYPES.AVERAGE,
},
{
feeInPrimaryCurrency: '$0.39',
feeInSecondaryCurrency: '0.004 ETH',
timeEstimate: '~ 1 min 30 sec',
priceInHexWei: '0xa1b2c39',
gasEstimateType: GAS_ESTIMATE_TYPES.AVERAGE,
},
{
feeInPrimaryCurrency: '$0.30',
feeInSecondaryCurrency: '0.00354 ETH',
timeEstimate: '~ 2 min 1 sec',
priceInHexWei: '0xa1b2c30',
gasEstimateType: GAS_ESTIMATE_TYPES.AVERAGE,
},
],
handleGasPriceSelection: newPrice => console.log('NewPrice: ', newPrice),