mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
d7a812f42f
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 |
||
---|---|---|
.. | ||
__snapshots__ | ||
awaiting-signatures | ||
awaiting-swap | ||
build-quote | ||
countdown-timer | ||
create-new-swap | ||
dropdown-input-pair | ||
dropdown-search-list | ||
exchange-rate-display | ||
fee-card | ||
import-token | ||
loading-swaps-quotes | ||
main-quote-summary | ||
searchable-item-list | ||
select-quote-popover | ||
slippage-buttons | ||
smart-transaction-status | ||
swaps-footer | ||
view-on-block-explorer | ||
view-quote | ||
index.js | ||
index.scss | ||
index.test.js | ||
swaps-util-test-constants.js | ||
swaps.util.js | ||
swaps.util.test.js |