diff options
author | Dan Miller <danjm.com@gmail.com> | 2018-11-06 01:01:46 +0800 |
---|---|---|
committer | Dan Miller <danjm.com@gmail.com> | 2018-12-04 11:36:22 +0800 |
commit | b70886a99b466366e84d24271adbb890aebf6460 (patch) | |
tree | b4ce415c80ec78120306d358c20d4c51744c8db3 /ui/app/components/gas-customization | |
parent | a8259f7f6a26fe5ae21b26b2a5c05dfdb09e32bd (diff) | |
download | tangerine-wallet-browser-b70886a99b466366e84d24271adbb890aebf6460.tar.gz tangerine-wallet-browser-b70886a99b466366e84d24271adbb890aebf6460.tar.zst tangerine-wallet-browser-b70886a99b466366e84d24271adbb890aebf6460.zip |
Fixes for components that break e2e gas customization tests, plus unit test updates.
Diffstat (limited to 'ui/app/components/gas-customization')
-rw-r--r-- | ui/app/components/gas-customization/gas-price-chart/gas-price-chart.component.js | 2 | ||||
-rw-r--r-- | ui/app/components/gas-customization/gas-price-chart/tests/gas-price-chart.component.test.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ui/app/components/gas-customization/gas-price-chart/gas-price-chart.component.js b/ui/app/components/gas-customization/gas-price-chart/gas-price-chart.component.js index 993dd0a2b..5ca465ba9 100644 --- a/ui/app/components/gas-customization/gas-price-chart/gas-price-chart.component.js +++ b/ui/app/components/gas-customization/gas-price-chart/gas-price-chart.component.js @@ -19,7 +19,7 @@ export default class GasPriceChart extends Component { gasPrices: PropTypes.array, estimatedTimes: PropTypes.array, gasPricesMax: PropTypes.number, - estimatedTimesMax: PropTypes.number, + estimatedTimesMax: PropTypes.string, currentPrice: PropTypes.number, updateCustomGasPrice: PropTypes.func, } diff --git a/ui/app/components/gas-customization/gas-price-chart/tests/gas-price-chart.component.test.js b/ui/app/components/gas-customization/gas-price-chart/tests/gas-price-chart.component.test.js index 158813edb..46341195b 100644 --- a/ui/app/components/gas-customization/gas-price-chart/tests/gas-price-chart.component.test.js +++ b/ui/app/components/gas-customization/gas-price-chart/tests/gas-price-chart.component.test.js @@ -51,7 +51,7 @@ const testProps = { gasPrices: [1.5, 2.5, 4, 8], estimatedTimes: [100, 80, 40, 10], gasPricesMax: 9, - estimatedTimesMax: 100, + estimatedTimesMax: '100', currentPrice: 6, updateCustomGasPrice: propsMethodSpies.updateCustomGasPrice, } |