diff options
author | Dan J Miller <danjm.com@gmail.com> | 2019-03-22 22:50:12 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-22 22:50:12 +0800 |
commit | 468bc96bdfc08e80119b3d5b3a54a3cf84046af8 (patch) | |
tree | b832d0e741e406eed2fa8c7a80e520740257d761 /ui/app/ducks/gas/gas-duck.test.js | |
parent | 31175625b446cb5d18b17db23018bca8b14d280c (diff) | |
download | tangerine-wallet-browser-468bc96bdfc08e80119b3d5b3a54a3cf84046af8.tar.gz tangerine-wallet-browser-468bc96bdfc08e80119b3d5b3a54a3cf84046af8.tar.zst tangerine-wallet-browser-468bc96bdfc08e80119b3d5b3a54a3cf84046af8.zip |
Hide gas price chart and prevent api call when not on ethereum networks. (#6300)
Add missing translations in gas customization modal
Diffstat (limited to 'ui/app/ducks/gas/gas-duck.test.js')
-rw-r--r-- | ui/app/ducks/gas/gas-duck.test.js | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/ui/app/ducks/gas/gas-duck.test.js b/ui/app/ducks/gas/gas-duck.test.js index 4e875e020..c0152c74f 100644 --- a/ui/app/ducks/gas/gas-duck.test.js +++ b/ui/app/ducks/gas/gas-duck.test.js @@ -364,7 +364,9 @@ describe('Gas Duck', () => { {}, initState, { basicPriceAndTimeEstimatesLastRetrieved: 1000000 } - ) })) + ), + metamask: { provider: { type: 'ropsten' } }, + })) assert.deepEqual( mockDistpatch.getCall(0).args, [{ type: BASIC_GAS_ESTIMATE_LOADING_STARTED} ] @@ -428,7 +430,9 @@ describe('Gas Duck', () => { {}, initState, { priceAndTimeEstimatesLastRetrieved: 1000000 } - ) })) + ), + metamask: { provider: { type: 'ropsten' } }, + })) assert.deepEqual( mockDistpatch.getCall(0).args, [{ type: GAS_ESTIMATE_LOADING_STARTED} ] @@ -479,7 +483,9 @@ describe('Gas Duck', () => { gasprice: 50, }], } - ) })) + ), + metamask: { provider: { type: 'ropsten' } }, + })) assert.deepEqual( mockDistpatch.getCall(0).args, [{ type: GAS_ESTIMATE_LOADING_STARTED} ] |