mirror of https://github.com/vuejs/core.git
test: remove redundant test
This commit is contained in:
parent
1df15977af
commit
ac11bd0a4e
|
@ -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')]),
|
||||||
|
|
Loading…
Reference in New Issue