From: Evan You Date: Mon, 6 Nov 2023 10:46:40 +0000 (+0800) Subject: chore: delete unrelated test case X-Git-Tag: v3.3.8~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2f8c769b6b52508c783e1e75687766a37f28b8c2;p=thirdparty%2Fvuejs%2Fcore.git chore: delete unrelated test case --- diff --git a/packages/runtime-core/__tests__/hydration.spec.ts b/packages/runtime-core/__tests__/hydration.spec.ts index abf50c5466..50331d0623 100644 --- a/packages/runtime-core/__tests__/hydration.spec.ts +++ b/packages/runtime-core/__tests__/hydration.spec.ts @@ -75,16 +75,6 @@ describe('SSR hydration', () => { expect(vnode.el.nodeType).toBe(8) // comment }) - test('comment (real left square bracket)', () => { - const { vnode, container } = mountWithHydration( - `
foo
`, - () => h('div', [h('span', 'foo'), createCommentVNode('hello')]) - ) - expect(vnode.el).toBe(container.firstChild) - expect(container.innerHTML).toBe('
foo
') - expect(`Hydration node mismatch`).not.toHaveBeenWarned() - }) - test('static', () => { const html = '
hello
' const { vnode, container } = mountWithHydration(html, () =>