diff --git a/packages/runtime-core/__tests__/hydration.spec.ts b/packages/runtime-core/__tests__/hydration.spec.ts index 4104e620782..b0404c1045e 100644 --- a/packages/runtime-core/__tests__/hydration.spec.ts +++ b/packages/runtime-core/__tests__/hydration.spec.ts @@ -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('

', () =>