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 78fc024636
Use default mock store in action tests ()
A simple default store of `{ metamask: {} }` is now used for the
actions tests.

While I would prefer that any expectations about the store be included
in each test, the mere existence of this `metamask` object seems like
a fairly reasonable default, as it's (hopefully) impossible for it to
be unset at runtime.

The `2-state.json` test state file was deleted as well, as it was no
longer used.
2020-04-28 09:49:43 -03:00
..
data Use default mock store in action tests () 2020-04-28 09:49:43 -03:00
e2e Remove unused currentAccountTab state () 2020-04-24 00:23:28 -03:00
integration Prevent accidental use of globals () 2020-04-15 14:23:27 -03:00
lib Export individual fns from tx-state-history-helpers () 2020-04-20 13:00:51 -02:30
stub Migrate codebase to use ESM () 2020-01-09 00:04:58 -03:30
unit Use default mock store in action tests () 2020-04-28 09:49:43 -03:00
unit-global Update ESLint rules for test suite () 2020-02-11 13:21:13 -03:30
web3 Enable arrow-parens ESLint rule 2020-02-15 17:04:21 -03:30
base.conf.js eslint --fix . 2018-07-02 18:49:33 -04:00
env.js Remove cross-env () 2020-01-30 14:11:26 -03:30
flat.conf.js eslint --fix . 2018-07-02 18:49:33 -04:00
helper.js Prevent accidental use of globals () 2020-04-15 14:23:27 -03:00
setup.js Remove obs-store babel register handling () 2020-04-27 07:54:42 -07:00