1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/app/scripts
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
..
account-import-strategies
constants
controllers Refactor: Construct the network controller within each test (#17199) 2023-01-17 19:58:16 -03:30
flask
lib Ensure that account tracker does not set balances incorrectly when us… (#17021) 2023-01-16 14:10:48 -03:30
migrations
platforms Improve transaction complete popup (#16300) 2023-01-04 09:40:42 -06:00
app-init.js
background.js
contentscript.js
detect-multiple-instances.js
detect-multiple-instances.test.js
disable-console.js
first-time-state.js
init-globals.js
inpage.js
lockdown-more.js Revert "Integrate new LavaMoat scuttling protection feature (#16994)" (#17043) 2022-12-22 17:26:53 +02:00
lockdown-run.js
metamask-controller.actions.test.js
metamask-controller.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
metamask-controller.test.js Move MetaMask middleware out of network controller (#16863) 2023-01-06 13:44:50 -03:30
sentry-install.js
ui.js
use-snow.js