mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
7d77554f3b
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> |
||
---|---|---|
.. | ||
provider-api-tests | ||
createInfuraClient.js | ||
createInfuraClient.test.js | ||
createJsonRpcClient.js | ||
createJsonRpcClient.test.js | ||
index.js | ||
network-controller.js | ||
network-controller.test.js |