Skip to content

Commit 1def2d1

Browse files
committed
fix test for emptyVNode rename
1 parent 7431e4d commit 1def2d1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/unit/modules/vdom/create-element.spec.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import Vue from 'vue'
22
import { createElement } from 'core/vdom/create-element'
3-
import { emptyVNode } from 'core/vdom/vnode'
3+
import { createEmptyVNode } from 'core/vdom/vnode'
44
import { bind } from 'shared/util'
55

66
describe('create-element', () => {
@@ -62,7 +62,7 @@ describe('create-element', () => {
6262
})
6363
const h = bind(createElement, vm)
6464
const vnode = h(null, {})
65-
expect(vnode).toEqual(emptyVNode())
65+
expect(vnode).toEqual(createEmptyVNode())
6666
})
6767

6868
it('render vnode with not string tag using createElement', () => {

0 commit comments

Comments
 (0)