From: Evan You Date: Thu, 8 Nov 2018 18:37:39 +0000 (-0500) Subject: test: all tests passing! X-Git-Tag: v3.0.0-alpha.0~1044 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2ee60e0a0358039a0485e26b3115facf46640b33;p=thirdparty%2Fvuejs%2Fcore.git test: all tests passing! --- diff --git a/packages/runtime-core/__tests__/fragment.spec.ts b/packages/runtime-core/__tests__/fragment.spec.ts index ab069f2d12..0096cc771a 100644 --- a/packages/runtime-core/__tests__/fragment.spec.ts +++ b/packages/runtime-core/__tests__/fragment.spec.ts @@ -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(`
one
two
`) expect(root.children.length).toBe(2) expect(root.children[0]).toMatchObject({