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 b0b99fa748
Move action constants to separate module (#8308)
The "global" action constants (the ones previously in `actions.js`)
have been moved to a separate module. This was necessary to avoid a
circular dependency in an upcoming change that was causing problems.

In general the "ducks" pattern of organizing Redux stores does result
in circular dependency problems. This is because reuse of actions
between reducers is encouraged, so it's not uncommon for two reducers
to want to reference an action from the other. Going forward we can
avoid this problem by moving action constants that are shared between
reducers into this shared module.
2020-04-08 21:35:37 -03:00
..
actions Move action constants to separate module (#8308) 2020-04-08 21:35:37 -03:00
app Connect flow via popup (#8269) 2020-04-07 16:08:15 -02:30
migrations Require migration tests from 33 on (#8121) 2020-02-26 20:49:59 -08:00
responsive/components Remove redux-test-utils dependency (#8070) 2020-02-18 14:54:03 -03:30
ui Move action constants to separate module (#8308) 2020-04-08 21:35:37 -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