1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/test
Erik Marks 11d176fde6 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-18 17:37:07 -03:30
..
data
e2e Add timeout to wait-until-called (#9996) 2020-12-09 12:17:46 -03:30
lib Add timeout to wait-until-called (#9996) 2020-12-09 12:17:46 -03:30
stub
unit Tighten up loading indication logic (#10103) 2020-12-18 17:37:07 -03:30
unit-global Revert "Revert "Add SES lockdown to extension webapp (#9729)"" 2020-12-09 12:11:55 -03:30
env.js
helper.js Migration to remove legacy local storage keys from localStorage (#9986) 2020-12-03 20:25:23 -03:30
setup.js