Skip to content

Commit ac11bd0

Browse files
committed
test: remove redundant test
1 parent 1df1597 commit ac11bd0

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

packages/runtime-vapor/__tests__/hydration.spec.ts

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2846,16 +2846,6 @@ describe('mismatch handling', () => {
28462846
expect(`Hydration text content mismatch`).toHaveBeenWarned()
28472847
})
28482848

2849-
test('element with v-html', async () => {
2850-
const data = ref('<p>bar</p>')
2851-
const { container } = await mountWithHydration(
2852-
`<div><p>foo</p></div>`,
2853-
`<div v-html="data"></div>`,
2854-
data,
2855-
)
2856-
expect(container.innerHTML).toBe('<div><p>bar</p></div>')
2857-
expect(`Hydration children mismatch on`).toHaveBeenWarned()
2858-
})
28592849
// test('not enough children', () => {
28602850
// const { container } = mountWithHydration(`<div></div>`, () =>
28612851
// h('div', [h('span', 'foo'), h('span', 'bar')]),

0 commit comments

Comments
 (0)