1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/ui
Mark Stacey f49e5076f3
Refactor: Extract SRP input from create vault component (#13720)
This is a pure refactor that extracts the SRP input from the
`CreateNewVault` component. This is intended to make future changes to
the SRP input easier, and to reduce duplication between the old and new
onboarding flows.

Extensive unit tests have been added for the new SRP input component.

A new test library was added (`@testing-library/user-event`) for
simulating user events with components rendered using the
`@testing-library` library.

A new helper method has been added (`renderWithLocalization`) for
rendering components using `@testing-library` with just our
localization contexts added as a wrapper. The localization contexts
were already added by the `renderWithProviders` helper function, but
there is no need for a Redux provider in these unit tests.
2022-02-23 17:00:26 -03:30
..
__mocks__ Increase Jest unit test coverage for the Swaps feature to ~60% (#11343) 2021-07-02 08:48:34 -05:00
components Refactor: Extract SRP input from create vault component (#13720) 2022-02-23 17:00:26 -03:30
contexts Adding metrics events for EIP-1559 V2 flow (#13329) 2022-02-01 23:23:03 +05:30
css Installing design tokens and writing docs in storybook (#13657) 2022-02-22 18:26:11 -08:00
ducks Add support for Smart Transactions (#12676) 2022-02-18 17:48:38 +01:00
helpers Feat/settings search (#13214) 2022-02-22 17:28:21 -03:30
hooks Add Snaps via Flask (#13462) 2022-02-14 16:02:51 -08:00
pages minor fixes per snaps pr comments (#13721) 2022-02-23 15:16:41 -05:00
selectors Add support for Smart Transactions (#12676) 2022-02-18 17:48:38 +01:00
store Add support for Smart Transactions (#12676) 2022-02-18 17:48:38 +01:00
index.js Include transactions from all networks in state logs (#13599) 2022-02-14 13:29:24 -05:00