1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-29 15:50:28 +01:00
metamask-extension/test/jest
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
..
background.js MV3: add retry logic to actions (#15337) 2022-09-05 20:25:34 +05:30
constants.js Add a new fiat onboarding option via MoonPay (#13934) 2022-03-21 10:26:52 +01:00
index.js Refactor tests for AdvancedGasInputs (#12445) 2021-11-10 12:24:29 -07:00
mock-store.js migrate network constants to typescript (#15610) 2022-09-14 09:55:31 -05:00
mocks.js Deprecate snake case from feature flags (#15994) 2022-09-29 11:03:38 -05:00
rendering.js remove the ui/app and ui/lib folders (#10911) 2021-04-28 14:53:59 -05:00
setup.js Add remaining tests for createInfuraClient (#15717) 2022-09-29 10:39:35 -06:00