test: remove redundant test
ci / test (push) Has been cancelled Details
ci / continuous-release (push) Has been cancelled Details

This commit is contained in:
daiwei 2025-09-24 10:43:40 +08:00
parent 1df15977af
commit ac11bd0a4e
1 changed files with 0 additions and 10 deletions

View File

@ -2846,16 +2846,6 @@ describe('mismatch handling', () => {
expect(`Hydration text content mismatch`).toHaveBeenWarned() 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', () => { // test('not enough children', () => {
// const { container } = mountWithHydration(`<div></div>`, () => // const { container } = mountWithHydration(`<div></div>`, () =>
// h('div', [h('span', 'foo'), h('span', 'bar')]), // h('div', [h('span', 'foo'), h('span', 'bar')]),