Bladeren bron

chore: remove redundant test

daiwei 7 maanden geleden
bovenliggende
commit
2802c0f4dc
1 gewijzigde bestanden met toevoegingen van 0 en 10 verwijderingen
  1. 0 10
      packages/runtime-vapor/__tests__/hydration.spec.ts

+ 0 - 10
packages/runtime-vapor/__tests__/hydration.spec.ts

@@ -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')]),