Browse Source

chore: fix mismatching tag in hydration test (#9888)

agoni1212 2 years ago
parent
commit
e7135f7100
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/runtime-core/__tests__/hydration.spec.ts

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

@@ -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()