|
|
@ -27,8 +27,6 @@ async function runCurrencyLocalizationTest (assert) { |
|
|
|
return Promise.resolve({ json: () => Promise.resolve(JSON.parse(fetchMockResponses.ethGasBasic)) }) |
|
|
|
return Promise.resolve({ json: () => Promise.resolve(JSON.parse(fetchMockResponses.ethGasBasic)) }) |
|
|
|
} else if (args[0] === 'https://ethgasstation.info/json/predictTable.json') { |
|
|
|
} else if (args[0] === 'https://ethgasstation.info/json/predictTable.json') { |
|
|
|
return Promise.resolve({ json: () => Promise.resolve(JSON.parse(fetchMockResponses.ethGasPredictTable)) }) |
|
|
|
return Promise.resolve({ json: () => Promise.resolve(JSON.parse(fetchMockResponses.ethGasPredictTable)) }) |
|
|
|
} else if (args[0] === 'https://dev.blockscale.net/api/gasexpress.json') { |
|
|
|
|
|
|
|
return Promise.resolve({ json: () => Promise.resolve(JSON.parse(fetchMockResponses.gasExpress)) }) |
|
|
|
|
|
|
|
} else if (args[0].match(/chromeextensionmm/)) { |
|
|
|
} else if (args[0].match(/chromeextensionmm/)) { |
|
|
|
return Promise.resolve({ json: () => Promise.resolve(JSON.parse(fetchMockResponses.metametrics)) }) |
|
|
|
return Promise.resolve({ json: () => Promise.resolve(JSON.parse(fetchMockResponses.metametrics)) }) |
|
|
|
} |
|
|
|
} |
|
|
|