1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-22 19:26:13 +02:00
metamask-extension/ui
Elliot Winkler d7a812f42f
Add remaining tests for createInfuraClient (#15717)
Add tests for the `block-tracker-inspector` middleware — which makes
sure that the block tracker never has a reference to the latest block
which is less than a block number that shows up in an RPC method's
response — and the Infura middleware — which takes care of sending the
request to Infura, and will retry the request up to 5 times if Infura
sends back a certain type of error.

Note that the `retry-on-empty` middleware is not tested because it
currently has a [bug][1] which is making it ineffective.

[1]: https://github.com/MetaMask/eth-json-rpc-middleware/issues/139
2022-09-29 10:39:35 -06:00
..
__mocks__ Refactoring isManifestV3 variable (#15568) 2022-08-16 20:51:42 +05:30
components add icons auto size (#16027) 2022-09-29 08:33:34 -07:00
contexts Add more tracking for MetaMask (#15462) 2022-08-11 19:33:33 +02:00
css Deprecating the Rinkeby, Ropsten, and Kovan test networks (#15989) 2022-09-28 20:26:01 -07:00
ducks Deprecate snake case from feature flags (#15994) 2022-09-29 11:03:38 -05:00
helpers add icons auto size (#16027) 2022-09-29 08:33:34 -07:00
hooks Deprecating the Rinkeby, Ropsten, and Kovan test networks (#15989) 2022-09-28 20:26:01 -07:00
pages Add remaining tests for createInfuraClient (#15717) 2022-09-29 10:39:35 -06:00
selectors Ability to buy native currency and tokens on Optimism and Arbitrum, using Transak (#16031) 2022-09-29 09:47:41 -05:00
store Deprecating the Rinkeby, Ropsten, and Kovan test networks (#15989) 2022-09-28 20:26:01 -07:00
index.js Remove related UI code from the app dir (#15384) 2022-09-16 14:05:21 -05:00
index.test.js Remove related UI code from the app dir (#15384) 2022-09-16 14:05:21 -05:00