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/network
Elliot Winkler bf851a56a4
Align network client tests with core repo (#17904)
When the network client tests in this repo were copied over to the core
repo, some alterations were made. This commit copies them back to this
repo so that the two test suites are easier to compare to each other.
Changes include:

* Extracting `testsFor*` functions (functions that bundle similar tests
  together) into separate files
* Reordering the tests defined in
  `testsForRpcMethodsThatCheckForBlockHashInResponse`
* Reordering the set of RPC methods listed in `shared-tests.js`
* Reordering the type definitions defined in `shared-tests.js` to be
  closer to the functions that use them
* Updating the tests defined in `testsForRpcMethodSupportingBlockParam`
  so that when they make requests they pass params, even if it's just an
  empty array
2023-03-20 10:50:52 -06:00
..
provider-api-tests Align network client tests with core repo (#17904) 2023-03-20 10:50:52 -06:00
createInfuraClient.js Update eth-json-rpc-middleware from v9 to v10 (#17591) 2023-02-27 13:19:08 -03:30
createInfuraClient.test.js Add tests for custom JSON-RPC network client (#16337) 2023-01-06 10:10:17 -07:00
createJsonRpcClient.js Update eth-json-rpc-middleware from v9 to v10 (#17591) 2023-02-27 13:19:08 -03:30
createJsonRpcClient.test.js Add tests for custom JSON-RPC network client (#16337) 2023-01-06 10:10:17 -07:00
index.js Rename the network controller module (#16974) 2022-12-16 16:37:06 -03:30
network-controller.js make network-controller methods overwrite rather than merge provider state (#18127) 2023-03-16 15:53:29 -05:00
network-controller.test.js make network-controller methods overwrite rather than merge provider state (#18127) 2023-03-16 15:53:29 -05:00