1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-30 08:09:15 +01:00
metamask-extension/test/lib
Mark Stacey 22f9de9a2c 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-03-21 18:51:18 -02:30
..
migrations Add prettier-plugin-sort-json (#9450) 2020-09-23 12:21:42 -02:30
createTxMeta.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
mock-encryptor.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
render-helpers.js Refactor: Extract SRP input from create vault component (#13720) 2022-03-21 18:51:18 -02:30
tick.js Version v9.5.0 RC (#10944) 2021-05-05 11:08:59 -07:00
wait-until-called.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00