woocommerce/plugins/woocommerce-blocks/tests
Seghir Nadir 30c2079af4 Enhance checkout filter system. (https://github.com/woocommerce/woocommerce-blocks/pull/3835)
* Add filter to extend product price

* Remove code targeting WC Subscriptions

* Rename filter

* Use extendibility API instead of filters

* Remove __EXPERIMENTAL_CART_ITEM_PRICE_FILTER from docs

* throw errors on validation

* Don't catch filter errors for admins

* Add tests

* wrap filter calls in memo

* pass extensions as top level prop

* abstract errors

* add jsdoc

* update tests

* review

* turn __experimentalApplyCheckoutFilter into a hook and move useMemo inside it

* revert name

* wrap getCheckoutFilters in useMemo

* refactor filter function so memozation is done inside components

* unify true instance

* fix rebase

Co-authored-by: Albert Juhé Lluveras <contact@albertjuhe.com>
2021-02-17 14:01:20 +01:00
..
bin Get the latest stable version of WooCommerce for PHPUnit testing (https://github.com/woocommerce/woocommerce-blocks/pull/3594) 2020-12-23 16:10:25 +01:00
e2e Create GitHub actions for automated tests (https://github.com/woocommerce/woocommerce-blocks/pull/3544) 2021-01-05 09:27:22 +00:00
js Enhance checkout filter system. (https://github.com/woocommerce/woocommerce-blocks/pull/3835) 2021-02-17 14:01:20 +01:00
php Catch errors during cart validation (https://github.com/woocommerce/woocommerce-blocks/pull/3703) 2021-02-15 14:03:04 +00:00
utils Enable and fix all jsdoc rule violations (https://github.com/woocommerce/woocommerce-blocks/pull/3168) 2020-09-20 19:54:08 -04:00
bootstrap.php Fix broken PHPunit tests (https://github.com/woocommerce/woocommerce-blocks/pull/3690) 2021-01-16 08:48:46 +01:00