aboutsummaryrefslogtreecommitdiffstats
path: root/.editorconfig
diff options
context:
space:
mode:
authorMark Stacey <markjstacey@gmail.com>2019-09-01 00:34:27 +0800
committerGitHub <noreply@github.com>2019-09-01 00:34:27 +0800
commitdaa20b4b63dc0509ac4911ebbb1bf7534e299fd6 (patch)
tree9f251186d26cc26ab6a69598a83ae976af472f4e /.editorconfig
parent0f1edce403bd6fcb8a6efacf1fe537c0ca8f9134 (diff)
downloadtangerine-wallet-browser-daa20b4b63dc0509ac4911ebbb1bf7534e299fd6.tar.gz
tangerine-wallet-browser-daa20b4b63dc0509ac4911ebbb1bf7534e299fd6.tar.zst
tangerine-wallet-browser-daa20b4b63dc0509ac4911ebbb1bf7534e299fd6.zip
Return after rejecting promise in action (#7079)
* Add missing test descriptions * Fix async tests that expect a rejection These tests expected the function under test to return a rejected promise, and had assertions to be run in the `catch` clause. However, the tests would still pass if the function didn't reject, with the assertions never being run. The tests have been updated to fail if the function doesn't throw. * Handle ignored promise rejection In the case where `forceUpdateMetamaskState` rejects, the function `setSeedPhraseBackedUp` would never resolve. It has been updated to pass along the rejection instead. * Return after rejecting promise in action A few actions would continue after encountering an error, resulting in errors being compounded. Instead all actions will now return after encountering an error (which it looks like was the intention in these cases anyway).
Diffstat (limited to '.editorconfig')
0 files changed, 0 insertions, 0 deletions