mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-25 11:28:51 +01:00
db2e461416
* Add tests for `retryOnEmpty` middleware Tests have been added for the `retryOnEmpty` middleware. This middleware is only used on the Infura network client, so the tests that demonstrate this retry behavior are only enabled for the `infura` provider type. Most of the tests added were to cover cases where the retry middleware is skipped, so they were applicable for both provider types. Closes #17004 * Improve readability of block number tests The test cases for passing a block number parameter have been made more readable. Specifically, a comment has been added each time params are built to call attention to the block parameter and what value it has, so that it's clear whether it's larger or smaller than the current block number. Additionally the blocks for "less than the current block number" and "equal to the current block number" have been combined using `describe.each`. |
||
---|---|---|
.. | ||
_locales | ||
build-types | ||
fonts | ||
images | ||
manifest | ||
scripts | ||
vendor/trezor | ||
background.html | ||
home.html | ||
loading.html | ||
notification.html | ||
popup.html | ||
trezor-usb-permissions.html |