]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
chore: fix mismatching tag in hydration test (#9888)
authoragoni1212 <22545824+agoni1212@users.noreply.github.com>
Fri, 22 Dec 2023 13:55:11 +0000 (21:55 +0800)
committerGitHub <noreply@github.com>
Fri, 22 Dec 2023 13:55:11 +0000 (21:55 +0800)
packages/runtime-core/__tests__/hydration.spec.ts

index 6bbe4118295c7575343eef21509e2878ca9ba6c3..07f19527cae1dc5711f24259f7dea44a04bb8e54 100644 (file)
@@ -1411,7 +1411,7 @@ describe('SSR hydration', () => {
         h('svg', { class: 'foo bar' })
       )
       // class with different order
-      mountWithHydration(`<div class="foo bar"></svg>`, () =>
+      mountWithHydration(`<div class="foo bar"></div>`, () =>
         h('div', { class: 'bar foo' })
       )
       expect(`Hydration class mismatch`).not.toHaveBeenWarned()