1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/test/unit
Mark Stacey 78fc024636
Use default mock store in action tests (#8437)
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
..
actions Move action constants to separate module (#8308) 2020-04-08 21:35:37 -03:00
app Mark PendingTransactionTracker#resubmitPendingTxs as async (#8399) 2020-04-27 13:24:39 -02:30
migrations Delete Dai/Sai migration notification (#8418) 2020-04-27 16:23:43 -02:30
responsive/components Remove redux-test-utils dependency (#8070) 2020-02-18 14:54:03 -03:30
ui Use default mock store in action tests (#8437) 2020-04-28 09:49:43 -03:00
balance-formatter-test.js Migrate codebase to use ESM (#7730) 2020-01-09 00:04:58 -03:30
localhostState.js Migrate codebase to use ESM (#7730) 2020-01-09 00:04:58 -03:30