diff options
author | Dan Miller <danjm.com@gmail.com> | 2018-11-14 01:36:35 +0800 |
---|---|---|
committer | Dan Miller <danjm.com@gmail.com> | 2018-12-04 11:36:22 +0800 |
commit | f8ffdaedc9a8fac631deafbc1d377430c980af94 (patch) | |
tree | 3cd5cf6a2d056cbe17ea0f5ce5619ccfe88fd8f2 /ui/app/components/gas-customization/gas-price-chart/tests | |
parent | 7ffea926f23b2542c5182df7958defcdd9398b04 (diff) | |
download | tangerine-wallet-browser-f8ffdaedc9a8fac631deafbc1d377430c980af94.tar.gz tangerine-wallet-browser-f8ffdaedc9a8fac631deafbc1d377430c980af94.tar.zst tangerine-wallet-browser-f8ffdaedc9a8fac631deafbc1d377430c980af94.zip |
Modify results of API data to better fit gas chart: remove outliers, pad data
Diffstat (limited to 'ui/app/components/gas-customization/gas-price-chart/tests')
-rw-r--r-- | ui/app/components/gas-customization/gas-price-chart/tests/gas-price-chart.component.test.js | 2 |
1 files changed, 1 insertions, 1 deletions
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 46341195b..74eddae42 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 @@ -136,7 +136,7 @@ describe('GasPriceChart Component', function () { assert.equal(gasPriceChartUtilsSpies.setTickPosition.callCount, 4) assert.deepEqual(gasPriceChartUtilsSpies.setTickPosition.getCall(0).args, ['y', 0, -5, 8]) assert.deepEqual(gasPriceChartUtilsSpies.setTickPosition.getCall(1).args, ['y', 1, -3, -5]) - assert.deepEqual(gasPriceChartUtilsSpies.setTickPosition.getCall(2).args, ['x', 0, 3, 15]) + assert.deepEqual(gasPriceChartUtilsSpies.setTickPosition.getCall(2).args, ['x', 0, 3]) assert.deepEqual(gasPriceChartUtilsSpies.setTickPosition.getCall(3).args, ['x', 1, 3, -8]) }) |