]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
test: all tests passing!
authorEvan You <yyx990803@gmail.com>
Thu, 8 Nov 2018 18:37:39 +0000 (13:37 -0500)
committerEvan You <yyx990803@gmail.com>
Thu, 8 Nov 2018 18:37:39 +0000 (13:37 -0500)
packages/runtime-core/__tests__/fragment.spec.ts

index ab069f2d129b682c1e51c8e5a4331e71bee6e83b..0096cc771a479efa20f577f469bba404b18647cf 100644 (file)
@@ -12,8 +12,7 @@ import {
   nextTick,
   resetOps,
   dumpOps,
-  NodeOpTypes,
-  renderInstance
+  NodeOpTypes
 } from '@vue/runtime-test'
 
 describe('Fragments', () => {
@@ -24,7 +23,7 @@ describe('Fragments', () => {
       }
     }
     const root = nodeOps.createElement('div')
-    await renderInstance(App)
+    await render(h(App), root)
     expect(serialize(root)).toBe(`<div><div>one</div>two</div>`)
     expect(root.children.length).toBe(2)
     expect(root.children[0]).toMatchObject({