From d11ce311823e0e66df7e329f193d1991daaa869a Mon Sep 17 00:00:00 2001 From: qiang Date: Thu, 15 Jul 2021 11:18:40 +0800 Subject: [PATCH] =?UTF-8?q?test(mp-alipay):=20=E5=A2=9E=E5=8A=A0=E6=94=AF?= =?UTF-8?q?=E4=BB=98=E5=AE=9D=E5=B0=8F=E7=A8=8B=E5=BA=8F=E6=8F=92=E4=BB=B6?= =?UTF-8?q?=E6=B5=8B=E8=AF=95=20#2410?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../__tests__/compiler-mp-alipay.spec.js | 9 +++++++++ 1 file changed, 9 insertions(+) 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 6d016649a..f178bf23f 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( -- GitLab