diff --git a/packages/nuxt/src/components/islandsTransform.ts b/packages/nuxt/src/components/islandsTransform.ts index ac5a954932..e10f1cd957 100644 --- a/packages/nuxt/src/components/islandsTransform.ts +++ b/packages/nuxt/src/components/islandsTransform.ts @@ -28,7 +28,7 @@ const SCRIPT_RE = /]*>/g const HAS_SLOT_OR_CLIENT_RE = /]*>|nuxt-client/ const TEMPLATE_RE = / + + +`, 'hello.server.vue') + + expect(normalizeLineEndings(result)).toMatchInlineSnapshot(` + " + + + " + `) + }) + it('expect slot fallback transform to match inline snapshot', async () => { const result = await viteTransform(`