Skip to content

Commit 2f8c769

Browse files
committed
chore: delete unrelated test case
1 parent dd8a0cf commit 2f8c769

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

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

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -75,16 +75,6 @@ describe('SSR hydration', () => {
7575
expect(vnode.el.nodeType).toBe(8) // comment
7676
})
7777

78-
test('comment (real left square bracket)', () => {
79-
const { vnode, container } = mountWithHydration(
80-
`<div><span>foo</span><!--hello--></div>`,
81-
() => h('div', [h('span', 'foo'), createCommentVNode('hello')])
82-
)
83-
expect(vnode.el).toBe(container.firstChild)
84-
expect(container.innerHTML).toBe('<div><span>foo</span><!--hello--></div>')
85-
expect(`Hydration node mismatch`).not.toHaveBeenWarned()
86-
})
87-
8878
test('static', () => {
8979
const html = '<div><span>hello</span></div>'
9080
const { vnode, container } = mountWithHydration(html, () =>

0 commit comments

Comments
 (0)