1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/ui/app/pages/swaps
Thomas Huang 253efc6f8c
Jest config (#10855)
* Setup jest config

* Adjust test for jest.

* Adjust lint config

* Omit swaps ui folder for unit testing

* Omit swaps from test:unit:lax

* Add jest.config.js to script files

* Restore mocks rather than clearing them.

* Update jest config and adjust lint to include subdirs

* Convert view-quote-price-difference test to jest

* Add jest ci and ci coverage scripts. Add jest unit test to general test command

* Add test coverage to ci

* Use --ignore flag

* Fixup

* Add @metamask/eslint-config-jest

* Update .eslintrc.js

Co-authored-by: Mark Stacey <markjstacey@gmail.com>

* Adds jest-coverage/

Co-authored-by: Mark Stacey <markjstacey@gmail.com>
2021-04-09 10:20:32 -07:00
..
actionable-message Make action elements in actionable message component accessible (#10386) 2021-02-05 14:57:48 -03:30
awaiting-swap Use correct block explorer name and link in swaps when on custom network (#10743) 2021-03-29 10:24:27 -02:30
build-quote Increase default slippage from 2% to 3%, show Advanced Options by default (#10842) 2021-04-08 16:28:19 -02:30
countdown-timer @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
dropdown-input-pair @metamask/eslint-config*@6.0.0 (#10858) 2021-04-08 14:34:55 -07:00
dropdown-search-list Remove react-select and SimpleDropdown, use Dropdown (#10468) 2021-02-19 13:03:44 -06:00
exchange-rate-display @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
fee-card @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
intro-popup Swaps support for local testnet (#10658) 2021-03-18 07:50:06 -02:30
loading-swaps-quotes Eliminate artificial delay in swaps loading screen after request loading is complete (#10496) 2021-02-23 13:21:19 -03:30
main-quote-summary @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
searchable-item-list upgrade eslint deps (#10789) 2021-04-01 13:44:42 -05:00
select-quote-popover @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
slippage-buttons Increase default slippage from 2% to 3%, show Advanced Options by default (#10842) 2021-04-08 16:28:19 -02:30
swaps-footer @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
swaps-gas-customization-modal Ensure that the correct default currency symbols are used for fees on the view quote screen (#10753) 2021-03-29 17:00:06 -02:30
view-quote Jest config (#10855) 2021-04-09 10:20:32 -07:00
index.js Increase default slippage from 2% to 3%, show Advanced Options by default (#10842) 2021-04-08 16:28:19 -02:30
index.scss Reapply view quote screen designs (#9905) 2020-12-08 10:47:53 -06:00
swaps-util-test-constants.js Add validation for the fee property from the /trades API response (#10836) 2021-04-06 21:49:55 -02:30
swaps.util.js Add validation for the fee property from the /trades API response (#10836) 2021-04-06 21:49:55 -02:30
swaps.util.test.js Jest config (#10855) 2021-04-09 10:20:32 -07:00