aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/gas-customization/gas-price-chart/tests
diff options
context:
space:
mode:
authorDan Miller <danjm.com@gmail.com>2018-11-14 01:36:35 +0800
committerDan Miller <danjm.com@gmail.com>2018-12-04 11:36:22 +0800
commitf8ffdaedc9a8fac631deafbc1d377430c980af94 (patch)
tree3cd5cf6a2d056cbe17ea0f5ce5619ccfe88fd8f2 /ui/app/components/gas-customization/gas-price-chart/tests
parent7ffea926f23b2542c5182df7958defcdd9398b04 (diff)
downloadtangerine-wallet-browser-f8ffdaedc9a8fac631deafbc1d377430c980af94.tar
tangerine-wallet-browser-f8ffdaedc9a8fac631deafbc1d377430c980af94.tar.gz
tangerine-wallet-browser-f8ffdaedc9a8fac631deafbc1d377430c980af94.tar.bz2
tangerine-wallet-browser-f8ffdaedc9a8fac631deafbc1d377430c980af94.tar.lz
tangerine-wallet-browser-f8ffdaedc9a8fac631deafbc1d377430c980af94.tar.xz
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.js2
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])
})