diff --git a/packages/runtime-vapor/__tests__/hydration.spec.ts b/packages/runtime-vapor/__tests__/hydration.spec.ts
index d89d5fab3..6ba2bf895 100644
--- a/packages/runtime-vapor/__tests__/hydration.spec.ts
+++ b/packages/runtime-vapor/__tests__/hydration.spec.ts
@@ -243,21 +243,45 @@ describe('Vapor Mode hydration', () => {
test.todo('component with anchor insertion', async () => {
const { container, data } = await testHydration(
`
-
+
+
+
+
+
+
+
`,
{
Child: `{{ data }}`,
},
)
- expect(container.innerHTML).toMatchInlineSnapshot(
- `"
foo
"`,
- )
+ expect(container.innerHTML).toMatchInlineSnapshot()
data.value = 'bar'
await nextTick()
- expect(container.innerHTML).toMatchInlineSnapshot(
- `"foo
"`,
+ expect(container.innerHTML).toMatchInlineSnapshot()
+ })
+
+ test.todo('consecutive component with anchor insertion', async () => {
+ const { container, data } = await testHydration(
+ `
+
+
+
+
+
+
+
+ `,
+ {
+ Child: `{{ data }}`,
+ },
)
+ expect(container.innerHTML).toMatchInlineSnapshot()
+
+ data.value = 'bar'
+ await nextTick()
+ expect(container.innerHTML).toMatchInlineSnapshot()
})
test.todo('if')