]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
chore: remove redundant test
authordaiwei <daiwei521@126.com>
Tue, 23 Sep 2025 07:44:35 +0000 (15:44 +0800)
committerdaiwei <daiwei521@126.com>
Tue, 23 Sep 2025 07:44:35 +0000 (15:44 +0800)
packages/runtime-vapor/__tests__/hydration.spec.ts

index f77d58c349ab2b7e9d33ff9b4efd5eda975aa596..d8ca5a606ee4998cdfe435165722ec305691b8d9 100644 (file)
@@ -2944,16 +2944,6 @@ describe('mismatch handling', () => {
     expect(`Hydration text content mismatch`).toHaveBeenWarned()
   })
 
-  test('element with v-html', async () => {
-    const data = ref('<p>bar</p>')
-    const { container } = await mountWithHydration(
-      `<div><p>foo</p></div>`,
-      `<div v-html="data"></div>`,
-      data,
-    )
-    expect(container.innerHTML).toBe('<div><p>bar</p></div>')
-    expect(`Hydration children mismatch on`).toHaveBeenWarned()
-  })
   // test('not enough children', () => {
   //   const { container } = mountWithHydration(`<div></div>`, () =>
   //     h('div', [h('span', 'foo'), h('span', 'bar')]),