Skip to content

Commit

Permalink
test: add test case
Browse files Browse the repository at this point in the history
  • Loading branch information
edison1105 committed Nov 26, 2022
1 parent 84bcab4 commit eff6f03
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/runtime-core/__tests__/hydration.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -957,10 +957,9 @@ describe('SSR hydration', () => {

// #7215
test('empty text node', () => {
const txt = ref('')
const Comp = {
render(this: any) {
return h('p', [ txt.value ])
return h('p', [''])
}
}
const { container } = mountWithHydration('<p></p>', () =>
Expand Down

0 comments on commit eff6f03

Please sign in to comment.