1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/app/scripts/controllers
Mark Stacey 7d77554f3b
Refactor: Construct the network controller within each test (#17199)
The network controller is now constructed within each network
controller unit test, rather than in the `beforeEach`. This allows us
to customize the constructor options in each test, which some planned
future tests will require.

The controller is constructed with a helper function that also handles
calling `destroy` after each test, even if the test failed. This helps
to prevent tests from affecting each other.

Co-authored-by: Elliot Winkler <elliot.winkler@gmail.com>
2023-01-17 19:58:16 -03:30
..
ens Keep memstore contents after service worker restarts (#15913) 2022-11-22 20:56:26 +04:00
network Refactor: Construct the network controller within each test (#17199) 2023-01-17 19:58:16 -03:30
permissions Moved subscribe and filter into network controller (#16693) 2022-12-20 10:28:09 -07:00
transactions determine tx type using normalized txparams (#17055) 2023-01-05 17:37:50 -07:00
alert.js remove exclusions for mismatched object jsdoc type casing (#15351) 2022-07-27 08:28:05 -05:00
app-state.js Removing flag for EIP1559 V2 support (#16446) 2022-12-09 00:07:06 +05:30
backup.js Fix 3box replacement for MV3 (#15851) 2022-09-29 07:34:20 +04:00
backup.test.js 3box Replacement (#15243) 2022-08-09 19:36:32 +01:00
cached-balances.js remove exclusions for mismatched object jsdoc type casing (#15351) 2022-07-27 08:28:05 -05:00
cached-balances.test.js Deprecating the Rinkeby, Ropsten, and Kovan test networks (#15989) 2022-09-28 20:26:01 -07:00
detect-tokens.js Toggle option to enable/disable balance and Token rate checking for using third-party API (#16772) 2023-01-17 10:23:04 -05:00
detect-tokens.test.js Toggle option to enable/disable balance and Token rate checking for using third-party API (#16772) 2023-01-17 10:23:04 -05:00
incoming-transactions.js Network request in background should not start until onboarding is completed (#16773) 2022-12-02 23:29:03 +05:30
incoming-transactions.test.js Network request in background should not start until onboarding is completed (#16773) 2022-12-02 23:29:03 +05:30
metametrics.js add an extra identifier on anonymized duplicate events (#17080) 2023-01-05 08:49:55 -06:00
metametrics.test.js add an extra identifier on anonymized duplicate events (#17080) 2023-01-05 08:49:55 -06:00
onboarding.js remove exclusions for mismatched object jsdoc type casing (#15351) 2022-07-27 08:28:05 -05:00
preferences.js Toggle option to enable/disable balance and Token rate checking for using third-party API (#16772) 2023-01-17 10:23:04 -05:00
preferences.test.js Toggle option to enable/disable balance and Token rate checking for using third-party API (#16772) 2023-01-17 10:23:04 -05:00
swaps.js Update quote selection for Optimism (#16998) 2022-12-21 20:59:34 +01:00
swaps.test.js Deprecating the Rinkeby, Ropsten, and Kovan test networks (#15989) 2022-09-28 20:26:01 -07:00