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/view-quote
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
..
index.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
index.scss Implement price impact acknowledgement button (#10347) 2021-02-04 09:58:46 -06:00
view-quote-price-difference.js Swaps token sources/verification messaging update (#10346) 2021-02-05 13:41:10 -03:30
view-quote-price-difference.test.js Jest config (#10855) 2021-04-09 10:20:32 -07:00
view-quote.js Ensure that priceSlippage fiat amounts are always shown in view-quote.js (#10762) 2021-03-30 12:55:29 -02:30