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