1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-22 19:26:13 +02:00
metamask-extension/app/scripts/controllers/network
Mark Stacey 048b7e4cb6
Fix shared mocks in RPC network client test (#16856)
* Fix shared mocks in RPC network client test

Some of the provider api unit tests were inadvertently sharing test
mocks. A `params` object used for mock RPC calls was being shared
between tests and between calls within individual tests. They have been
updated to generate a fresh `params` object for each mock RPC call.

* Explicitly set blockParam to undefined
2022-12-12 13:49:22 -03:30
..
middleware @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
provider-api-tests Fix shared mocks in RPC network client test (#16856) 2022-12-12 13:49:22 -03:30
createInfuraClient.js Update eth-json-rpc-infura (#15845) 2022-09-15 14:41:18 -02:30
createInfuraClient.test.js Add remaining tests for createInfuraClient (#15717) 2022-09-29 10:39:35 -06:00
createJsonRpcClient.js Fix isMainnet propType error (#12951) 2021-12-02 14:46:46 -03:30
createMetamaskMiddleware.js eth-json-rpc-middleware@8.0.0 (#10738) 2021-11-11 12:26:49 -08:00
index.js cancel unapproved confirmations on network change (#10357) 2021-02-08 17:22:30 -06:00
network-controller.test.js Deprecating the Rinkeby, Ropsten, and Kovan test networks (#15989) 2022-09-28 20:26:01 -07:00
network.js Deprecating the Rinkeby, Ropsten, and Kovan test networks (#15989) 2022-09-28 20:26:01 -07:00
pending-middleware.test.js Deprecating the Rinkeby, Ropsten, and Kovan test networks (#15989) 2022-09-28 20:26:01 -07:00
util.js Ensure createPendingTxMiddleware returns gasPrice for EIP-1559 transactions (#11685) 2021-07-30 18:10:19 -02:30
util.test.js Deprecating the Rinkeby, Ropsten, and Kovan test networks (#15989) 2022-09-28 20:26:01 -07:00