diff --git a/packages/uni-template-compiler/__tests__/compiler-mp-baidu.spec.js b/packages/uni-template-compiler/__tests__/compiler-mp-baidu.spec.js index 4d719a64ee2afe35ca461e177d50f4e64d5a6eb6..511ad13b11d020051d0c36c4bd651af15d64683f 100644 --- a/packages/uni-template-compiler/__tests__/compiler-mp-baidu.spec.js +++ b/packages/uni-template-compiler/__tests__/compiler-mp-baidu.spec.js @@ -15,6 +15,12 @@ function assertCodegen (template, templateCode, renderCode = 'with(this){}', opt } describe('mp:compiler-mp-baidu', () => { + it('generate component', () => { + assertCodegen( + '', + '' + ) + }) it('generate class', () => { assertCodegen( 'hello world', @@ -75,40 +81,35 @@ describe('mp:compiler-mp-baidu', () => { assertCodegen( '