From 7c7e710181f3ebba4c12c8d7351cb4ead0bdb627 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=89=E5=92=B2=E6=99=BA=E5=AD=90=20Kevin=20Deng?= Date: Sun, 15 Jan 2023 22:36:19 +0800 Subject: [PATCH] test: add --- .../__snapshots__/compileScript.spec.ts.snap | 18 ++++++++++++++++++ .../__tests__/compileScript.spec.ts | 16 ++++++++++++++++ 2 files changed, 34 insertions(+) diff --git a/packages/compiler-sfc/__tests__/__snapshots__/compileScript.spec.ts.snap b/packages/compiler-sfc/__tests__/__snapshots__/compileScript.spec.ts.snap index cbe511f1d07..d43464911ae 100644 --- a/packages/compiler-sfc/__tests__/__snapshots__/compileScript.spec.ts.snap +++ b/packages/compiler-sfc/__tests__/__snapshots__/compileScript.spec.ts.snap @@ -58,6 +58,24 @@ return { n, get x() { return x } } }" `; +exports[`SFC compile + + + `) + assertCode(content) + }) }) describe('imports', () => {