mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-23 02:10:12 +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`. |
||
---|---|---|
.. | ||
ens | ||
network | ||
permissions | ||
transactions | ||
alert.js | ||
app-state.js | ||
backup.js | ||
backup.test.js | ||
cached-balances.js | ||
cached-balances.test.js | ||
detect-tokens.js | ||
detect-tokens.test.js | ||
incoming-transactions.js | ||
incoming-transactions.test.js | ||
metametrics.js | ||
metametrics.test.js | ||
onboarding.js | ||
preferences.js | ||
preferences.test.js | ||
swaps.js | ||
swaps.test.js |