+
+
+ "
+ `)
+ })
+
+ it('expect slot transform with fallback and no name to match inline snapshot #23209', async () => {
+ const result = await viteTransform(`
+
+
+
+ Partial Hydration Example - Server - {{ count }}
+
+
+ message: {{ message }}
+ Below is the slot I want to be hydrated on the client
+
+
+ This is the default content of the slot, I should not see this after
+ the client loading has completed.
+
+
+ Above is the slot I want to be hydrated on the client
+
+
+
+
+
+
+ `
+ , 'hello.server.vue')
+
+ expect(normalizeLineEndings(result)).toMatchInlineSnapshot(`
+ "
+
+
+
+ Partial Hydration Example - Server - {{ count }}
+
+
+ message: {{ message }}
+ Below is the slot I want to be hydrated on the client
+
+
+ This is the default content of the slot, I should not see this after
+ the client loading has completed.
+
+
+
Above is the slot I want to be hydrated on the client
+
+
+
+
+
+
+ "
+ `)
+ })
+ })
+})