From c3fd5771773ffe9f4fdb81c1cbdc6e9c0cbfb5b7 Mon Sep 17 00:00:00 2001 From: Evan You Date: Sat, 30 Dec 2023 18:57:22 +0800 Subject: [PATCH] chore: fix snapshot --- .../__snapshots__/importUsageCheck.spec.ts.snap | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/packages/compiler-sfc/__tests__/compileScript/__snapshots__/importUsageCheck.spec.ts.snap b/packages/compiler-sfc/__tests__/compileScript/__snapshots__/importUsageCheck.spec.ts.snap index 8c32f25413a..cfdbf5f45c2 100644 --- a/packages/compiler-sfc/__tests__/compileScript/__snapshots__/importUsageCheck.spec.ts.snap +++ b/packages/compiler-sfc/__tests__/compileScript/__snapshots__/importUsageCheck.spec.ts.snap @@ -124,6 +124,21 @@ return { get FooBaz() { return FooBaz }, get Last() { return Last } } })" `; +exports[`namespace / dot component usage 1`] = ` +"import { defineComponent as _defineComponent } from 'vue' +import * as Foo from './foo' + +export default /*#__PURE__*/_defineComponent({ + setup(__props, { expose: __expose }) { + __expose(); + + +return { get Foo() { return Foo } } +} + +})" +`; + exports[`property access (whitespace) 1`] = ` "import { defineComponent as _defineComponent } from 'vue' import { Foo, Bar, Baz } from './foo'