1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/test
Mark Stacey 1d73d90a1a
Replace bluebird with Node.js API for unhandled rejections (#7904)
Unhandled rejections are now caught using built-in Node.js APIs instead
of with `bluebird`. `bluebird` was added as a production dependency but
was only used for this purpose. The code responsible for catching
unhandled rejection in the browser was removed, as this test helper is
never run in the browser.

Additionally, unhandled rejections are tracked over the course of all
tests, and result in a non-zero exit code if they remain at the end.
This was done because it is possible for errors to trigger the
`uncaughtRejection` event but then still be handled later on. This is
uncommon, and doesn't seem to happen in our test suite. But if it does
in the future, it'll be logged but won't result in a non-zero exit
code.
2020-01-27 11:15:37 -04:00
..
data Move webdriver interactions into driver module (#7798) 2020-01-13 11:07:32 -04:00
e2e Add benchmark to CI (#7871) 2020-01-23 16:55:17 -04:00
integration Move webdriver interactions into driver module (#7798) 2020-01-13 11:07:32 -04:00
lib Remove usages of xtend from the background scripts (#7796) 2020-01-13 08:59:36 -10:00
stub Migrate codebase to use ESM (#7730) 2020-01-09 00:04:58 -03:30
unit Inline networkStore to avoid having too many event listeners (#7854) 2020-01-17 18:28:27 -03:30
unit-global Migrate codebase to use ESM (#7730) 2020-01-09 00:04:58 -03:30
web3 yarn lint --fix 2019-12-03 17:20:55 -03:30
base.conf.js eslint --fix . 2018-07-02 18:49:33 -04:00
flat.conf.js eslint --fix . 2018-07-02 18:49:33 -04:00
helper.js Replace bluebird with Node.js API for unhandled rejections (#7904) 2020-01-27 11:15:37 -04:00
setup.js Update ESLint rules for curly braces style (#7477) 2019-11-19 20:33:20 -03:30