diff --git a/packages/compiler-sfc/__tests__/__snapshots__/compileScript.spec.ts.snap b/packages/compiler-sfc/__tests__/__snapshots__/compileScript.spec.ts.snap index d65806a4..5e80e979 100644 --- a/packages/compiler-sfc/__tests__/__snapshots__/compileScript.spec.ts.snap +++ b/packages/compiler-sfc/__tests__/__snapshots__/compileScript.spec.ts.snap @@ -73,6 +73,23 @@ return { } }" `; +exports[`SFC compile + `) + assertCode(content) + expect(content).toMatch(`export default { + props: propsModel,`) + }) + test('defineEmit() (deprecated)', () => { const { content, bindings } = compile(`