117b9dec7f
* 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> |
||
---|---|---|
.. | ||
payment-method-config-helper.ts | ||
payment-method-config.tsx | ||
registry.ts |