diff --git a/packages/compiler-sfc/__tests__/compileScript.spec.ts b/packages/compiler-sfc/__tests__/compileScript.spec.ts index 11f73975..0a6b9d00 100644 --- a/packages/compiler-sfc/__tests__/compileScript.spec.ts +++ b/packages/compiler-sfc/__tests__/compileScript.spec.ts @@ -520,6 +520,22 @@ describe('SFC compile + `) + + expect(scriptAst).toBeDefined() + }) it('recognizes props array declaration', () => { const { bindings } = compile(`