1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-22 19:26:13 +02:00
metamask-extension/test
Erik Marks 4b766fa538
Tighten up loading indication logic (#10103)
Ensures that `hideLoadingIndication` is always called in all actions that call `showLoadingIndication`. It's unclear how many of these actions were failing to hide the loading indication, because other actions superset `hideLoadingIndication`. 

At the very least, `updateTransaction` was probably failing to hide the loading indication in the error case.

This PR also refactors a lot of actions to call `hideLoadingIndication` once in `finally` blocks as opposed to multiple times across `try` and `catch` blocks. We avoided making changes to functions using `Promise` methods, because `Promise.finally` is not supported by Waterfox, and it's not properly transpiled by Babel.
2020-12-17 21:34:43 -08:00
..
data Remove use of ethgasstation; use metaswap /gasPrices api for gas price estimates (#9867) 2020-12-02 19:55:19 -03:30
e2e Use .zip for Firefox e2e tests (#10056) 2020-12-11 12:54:17 -03:30
lib Add timeout to wait-until-called (#9996) 2020-12-04 13:47:57 -03:30
stub json-rpc-engine@6.1.0 (#9922) 2020-12-02 11:41:24 -08:00
unit Tighten up loading indication logic (#10103) 2020-12-17 21:34:43 -08:00
unit-global Add SES lockdown to extension webapp (#9729) 2020-11-24 11:26:43 +08:00
env.js Remove cross-env (#7950) 2020-01-30 14:11:26 -03:30
helper.js Migration to remove legacy local storage keys from localStorage (#9986) 2020-12-03 20:25:23 -03:30
setup.js Remove obs-store babel register handling (#8413) 2020-04-27 07:54:42 -07:00