mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
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> |
||
---|---|---|
.. | ||
account-import-strategies | ||
constants | ||
controllers | ||
flask | ||
lib | ||
migrations | ||
platforms | ||
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 | ||
lockdown-run.js | ||
metamask-controller.actions.test.js | ||
metamask-controller.js | ||
metamask-controller.test.js | ||
sentry-install.js | ||
ui.js | ||
use-snow.js |