1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/ui/pages/swaps
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
..
__snapshots__
awaiting-signatures Adding polymorphic 'as' prop to Box component and updating Typography component to use the same (#15518) 2022-08-10 12:42:42 -07:00
awaiting-swap Remove related UI code from the app dir (#15384) 2022-09-16 14:05:21 -05:00
build-quote Remove related UI code from the app dir (#15384) 2022-09-16 14:05:21 -05:00
countdown-timer
create-new-swap
dropdown-input-pair
dropdown-search-list Preserve search query for "Swap from" and "Swap to" form fields, update content (#15758) 2022-09-08 11:31:56 -05:00
exchange-rate-display Remove related UI code from the app dir (#15384) 2022-09-16 14:05:21 -05:00
fee-card migrate network constants to typescript (#15610) 2022-09-14 09:55:31 -05:00
import-token
loading-swaps-quotes upgrade jest (#15642) 2022-08-23 15:13:02 -05:00
main-quote-summary Remove related UI code from the app dir (#15384) 2022-09-16 14:05:21 -05:00
searchable-item-list Preserve search query for "Swap from" and "Swap to" form fields, update content (#15758) 2022-09-08 11:31:56 -05:00
select-quote-popover Preserve search query for "Swap from" and "Swap to" form fields, update content (#15758) 2022-09-08 11:31:56 -05:00
slippage-buttons Preserve search query for "Swap from" and "Swap to" form fields, update content (#15758) 2022-09-08 11:31:56 -05:00
smart-transaction-status Remove related UI code from the app dir (#15384) 2022-09-16 14:05:21 -05:00
swaps-footer
view-on-block-explorer Updating Box to remove color prop default (Fixes develop) (#15613) 2022-08-17 06:02:26 -07:00
view-quote Remove related UI code from the app dir (#15384) 2022-09-16 14:05:21 -05:00
index.js Remove related UI code from the app dir (#15384) 2022-09-16 14:05:21 -05:00
index.scss
index.test.js
swaps-util-test-constants.js
swaps.util.js Deprecate snake case from feature flags (#15994) 2022-09-29 11:03:38 -05:00
swaps.util.test.js Add remaining tests for createInfuraClient (#15717) 2022-09-29 10:39:35 -06:00