1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-22 01:47:00 +01:00
metamask-extension/test
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
..
data Deprecating the Rinkeby, Ropsten, and Kovan test networks (#15989) 2022-09-28 20:26:01 -07:00
e2e Deprecate snake case from feature flags (#15994) 2022-09-29 11:03:38 -05:00
helpers Add remaining tests for createInfuraClient (#15717) 2022-09-29 10:39:35 -06:00
jest Add remaining tests for createInfuraClient (#15717) 2022-09-29 10:39:35 -06:00
lib Unit tests improvements (#15517) 2022-08-16 10:25:30 -05:00
mocks remove exclusions for mismatched object jsdoc type casing (#15351) 2022-07-27 08:28:05 -05:00
stub Deprecating the Rinkeby, Ropsten, and Kovan test networks (#15989) 2022-09-28 20:26:01 -07:00
unit-global Add lockdown e2e test (#12562) 2021-11-02 17:01:01 -07:00
env.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
setup.js Add initial Typescript Files (#15596) 2022-08-16 10:15:29 -05:00
test-unit-combined.sh Fix unit test package scripts (#12278) 2021-10-06 07:35:23 -07:00
test-unit-jest.sh Fix unit test package scripts (#12278) 2021-10-06 07:35:23 -07:00