diff --git a/packages/uni-template-compiler/__tests__/compiler-mp-alipay.spec.js b/packages/uni-template-compiler/__tests__/compiler-mp-alipay.spec.js
index 6d016649a15876f4370a1eac92b7c00cb029c893..f178bf23f0df12d0bd982a18dd64dbcc72ec476b 100644
--- a/packages/uni-template-compiler/__tests__/compiler-mp-alipay.spec.js
+++ b/packages/uni-template-compiler/__tests__/compiler-mp-alipay.spec.js
@@ -54,6 +54,15 @@ describe('mp:compiler-mp-alipay', () => {
wxComponents: { component1: '/mycomponents/component1' }
}
)
+ assertCodegen(
+ 'text',
+ 'text',
+ undefined,
+ undefined,
+ {
+ wxComponents: { 'credit-pay': 'plugin://myPlugin/CreditPay' }
+ }
+ )
})
it('generate slot fallback content', () => {
assertCodegen(