diff options
Diffstat (limited to 'ui/app/ducks/gas/gas-duck.test.js')
-rw-r--r-- | ui/app/ducks/gas/gas-duck.test.js | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/ui/app/ducks/gas/gas-duck.test.js b/ui/app/ducks/gas/gas-duck.test.js index 82a91d5e7..85450489d 100644 --- a/ui/app/ducks/gas/gas-duck.test.js +++ b/ui/app/ducks/gas/gas-duck.test.js @@ -321,10 +321,10 @@ describe('Gas Duck', () => { assert.deepEqual( global.fetch.getCall(0).args, [ - 'https://dev.blockscale.net/api/gasexpress.json', + 'https://ethgasstation.info/json/ethgasAPI.json', { 'headers': {}, - 'referrer': 'https://dev.blockscale.net/api/', + 'referrer': 'http://ethgasstation.info/json/', 'referrerPolicy': 'no-referrer-when-downgrade', 'body': null, 'method': 'GET', @@ -341,12 +341,12 @@ describe('Gas Duck', () => { [{ type: SET_BASIC_GAS_ESTIMATE_DATA, value: { - average: 20, + average: 2, blockTime: 'mockBlock_time', blockNum: 'mockBlockNum', - fast: 30, - fastest: 40, - safeLow: 10, + fast: 3, + fastest: 4, + safeLow: 1, }, }] ) @@ -420,10 +420,10 @@ describe('Gas Duck', () => { assert.deepEqual( global.fetch.getCall(0).args, [ - 'https://dev.blockscale.net/api/gasexpress.json', + 'https://ethgasstation.info/json/ethgasAPI.json', { 'headers': {}, - 'referrer': 'https://dev.blockscale.net/api/', + 'referrer': 'http://ethgasstation.info/json/', 'referrerPolicy': 'no-referrer-when-downgrade', 'body': null, 'method': 'GET', @@ -440,12 +440,12 @@ describe('Gas Duck', () => { [{ type: SET_BASIC_GAS_ESTIMATE_DATA, value: { - average: 20, + average: 2, blockTime: 'mockBlock_time', blockNum: 'mockBlockNum', - fast: 30, - fastest: 40, - safeLow: 10, + fast: 3, + fastest: 4, + safeLow: 1, }, }] ) |