From 9cbfe4d3cb8e1adef2126d7d7b1433c195342a65 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 a4306b42ec1..07368b19231 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', () => {