mirror of
https://gitee.com/vuejs/vue.git
synced 2024-12-05 05:27:59 +08:00
fix test for emptyVNode rename
This commit is contained in:
parent
7431e4d16c
commit
1def2d11a5
@ -1,6 +1,6 @@
|
||||
import Vue from 'vue'
|
||||
import { createElement } from 'core/vdom/create-element'
|
||||
import { emptyVNode } from 'core/vdom/vnode'
|
||||
import { createEmptyVNode } from 'core/vdom/vnode'
|
||||
import { bind } from 'shared/util'
|
||||
|
||||
describe('create-element', () => {
|
||||
@ -62,7 +62,7 @@ describe('create-element', () => {
|
||||
})
|
||||
const h = bind(createElement, vm)
|
||||
const vnode = h(null, {})
|
||||
expect(vnode).toEqual(emptyVNode())
|
||||
expect(vnode).toEqual(createEmptyVNode())
|
||||
})
|
||||
|
||||
it('render vnode with not string tag using createElement', () => {
|
||||
|
Loading…
Reference in New Issue
Block a user