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> |
||
---|---|---|
.. | ||
test | ||
assertions.js | ||
express-payment-method-config.js | ||
extensions-config.js | ||
index.js | ||
payment-method-config-helper.js | ||
payment-method-config.js | ||
registry.js |