woocommerce/plugins/woocommerce-blocks/tests/js
Albert Juhé Lluveras 8bfb95c808 Deregister core cart/checkout scripts and styles when rendering the blocks (https://github.com/woocommerce/woocommerce-blocks/pull/2842)
* Deregister core cart/checkout scripts and styles when rendering the blocks

* Fix regression: redirect to full cart when adding a product from empty cart

* Make it so it scrolls to the top

* Update assets/js/base/utils/legacy-events.js

Co-authored-by: Darren Ethier <darren@roughsmootheng.in>

* Add check for jQuery availability

* Listen to removed from cart event too

* Remove unnecessary useEffect dependency

* Remove jQuery event subscriptions on component unmount

* Fix tests

Co-authored-by: Darren Ethier <darren@roughsmootheng.in>
2020-07-14 15:46:44 -04:00
..
jest.config.json Generate block pages for tests. (https://github.com/woocommerce/woocommerce-blocks/pull/2707) 2020-06-15 15:59:18 +01:00
jestPreprocess.js Install @babel/plugin-proposal-class-properties. (https://github.com/woocommerce/woocommerce-blocks/pull/856) 2019-08-21 09:05:17 -04:00
setup-after-env.js Add initial cart flow tests (https://github.com/woocommerce/woocommerce-blocks/pull/2678) 2020-06-10 14:21:34 -04:00
setup-fetch.js Add React Testing Library (https://github.com/woocommerce/woocommerce-blocks/pull/2528) 2020-05-20 20:33:16 +01:00
setup-globals.js Deregister core cart/checkout scripts and styles when rendering the blocks (https://github.com/woocommerce/woocommerce-blocks/pull/2842) 2020-07-14 15:46:44 -04:00