woocommerce/plugins/woocommerce-blocks/assets/js/blocks-registry/payment-methods
Thomas Roberts 117b9dec7f Add tests for filtering payment methods (https://github.com/woocommerce/woocommerce-blocks/pull/4696)
* Add tests for registerPaymentMethodExtensionCallbacks

* Use the console mocks from @wordpress/jest-console

Overriding console.error with my own mock was unnecessary.

* Add tests for canMakePaymentWithExtensions

* Add tests for payment-method-config

* Apply suggestions from code review

Co-authored-by: Raluca Stan <raluca.stan@automattic.com>

* Apply suggestions from code review

* Change file types to .ts and .tsx

* Add test to check namespace is not overwritten

* Move overwriting test to new test case

This assertion feels different enough to warrant its own test case.

Co-authored-by: Raluca Stan <raluca.stan@automattic.com>
2021-09-15 14:40:40 +02:00
..
test Add tests for filtering payment methods (https://github.com/woocommerce/woocommerce-blocks/pull/4696) 2021-09-15 14:40:40 +02:00
assertions.js Support a plain js config argument to payment method registration APIs (https://github.com/woocommerce/woocommerce-blocks/pull/3404) 2020-11-19 11:06:33 +13:00
express-payment-method-config.js Use default "features" values for payment methods. (https://github.com/woocommerce/woocommerce-blocks/pull/3796) 2021-02-05 15:31:34 +00:00
extensions-config.js Add extensibility point for extensions to filter payment methods (https://github.com/woocommerce/woocommerce-blocks/pull/4668) 2021-09-08 12:29:29 +01:00
index.js Add payment method api and components to checkout steps (https://github.com/woocommerce/woocommerce-blocks/pull/1349) 2020-01-06 17:28:09 -05:00
payment-method-config-helper.js Add extensibility point for extensions to filter payment methods (https://github.com/woocommerce/woocommerce-blocks/pull/4668) 2021-09-08 12:29:29 +01:00
payment-method-config.js Add extensibility point for extensions to filter payment methods (https://github.com/woocommerce/woocommerce-blocks/pull/4668) 2021-09-08 12:29:29 +01:00
registry.js Add extensibility point for extensions to filter payment methods (https://github.com/woocommerce/woocommerce-blocks/pull/4668) 2021-09-08 12:29:29 +01:00