Evan You 1 год назад
Родитель
Сommit
37f9ef8174
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      packages/runtime-core/__tests__/hydration.spec.ts

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

@@ -1165,7 +1165,7 @@ describe('SSR hydration', () => {
     const Comp = {
       render(this: any) {
         return h('p', [''])
-      }
+      },
     }
     const { container } = mountWithHydration('<p></p>', () => h(Comp))
     expect(container.childNodes.length).toBe(1)