mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
e7d7d24d83
* Remove periodic calls to the /featureFlag API * Always show the Swap button on the main page * Check if the Swaps feature is enabled, show loading animation while waiting * Reuse an existing useEffect call * Use ‘isFeatureFlagLoaded’ in React’s state, resolve lint issues * Add a watch mode for Jest testing * Add unit tests for Swaps: fetchSwapsLiveness, add /ducks/swaps into Jest testing * Remove Swaps Jest tests from Mocha’s ESLint rules * Ignore Swaps Jest tests while running Mocha, update paths * Increase test coverage to the current max * Fix ESLint issues for Swaps * Enable the Swaps feature by default and after state reset, remove loading screen before seeing Swaps * Update Jest config, fix tests * Update Jest coverage threshold to the current maximum * Update ESLint rule in jest.config.js * Disable the “Review Swap” button if the feature flag hasn’t loaded yet * Update jest threshold |
||
---|---|---|
.. | ||
actionable-message | ||
awaiting-swap | ||
build-quote | ||
countdown-timer | ||
dropdown-input-pair | ||
dropdown-search-list | ||
exchange-rate-display | ||
fee-card | ||
intro-popup | ||
loading-swaps-quotes | ||
main-quote-summary | ||
searchable-item-list | ||
select-quote-popover | ||
slippage-buttons | ||
swaps-footer | ||
swaps-gas-customization-modal | ||
view-quote | ||
index.js | ||
index.scss | ||
swaps-util-test-constants.js | ||
swaps.util.js | ||
swaps.util.test.js |