1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-22 18:00:18 +01:00
metamask-extension/test
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
..
data EIP-1559 V2: Use default gas preferences of user for all transactions (#13238) 2022-01-10 14:34:54 -05:00
e2e fix broken e2e test from out of sync test merged (#13734) 2022-02-23 13:05:55 -06:00
helpers Refactor: Extract SRP input from create vault component (#13720) 2022-02-23 17:00:26 -03:30
jest Add support for Smart Transactions (#12676) 2022-02-18 17:48:38 +01:00
lib Refactor: Extract SRP input from create vault component (#13720) 2022-02-23 17:00:26 -03:30
mocks Permission System 2.0 (#12243) 2021-12-06 19:16:49 -08:00
stub Upgrade ganache - continued (#13354) 2022-01-20 16:56:52 +00:00
unit-global Add lockdown e2e test (#12562) 2021-11-02 17:01:01 -07:00
env.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
setup.js colocate tests in flat structure (#10655) 2021-03-16 16:00:08 -05:00
test-unit-combined.sh Fix unit test package scripts (#12278) 2021-10-06 07:35:23 -07:00
test-unit-jest.sh Fix unit test package scripts (#12278) 2021-10-06 07:35:23 -07:00