mirror of https://github.com/vuejs/core.git
test(runtime-core): remove incorrect suspense test in vnode spec (#13782)
This commit is contained in:
parent
c875019d49
commit
8963b7979a
|
@ -553,18 +553,6 @@ describe('vnode', () => {
|
||||||
expect(vnode.dynamicChildren).toStrictEqual([vnode1])
|
expect(vnode.dynamicChildren).toStrictEqual([vnode1])
|
||||||
})
|
})
|
||||||
|
|
||||||
test('with suspense', () => {
|
|
||||||
const hoist = createVNode('div')
|
|
||||||
let vnode1
|
|
||||||
const vnode =
|
|
||||||
(openBlock(),
|
|
||||||
createBlock('div', null, [
|
|
||||||
hoist,
|
|
||||||
(vnode1 = createVNode(() => {}, null, 'text')),
|
|
||||||
]))
|
|
||||||
expect(vnode.dynamicChildren).toStrictEqual([vnode1])
|
|
||||||
})
|
|
||||||
|
|
||||||
// #1039
|
// #1039
|
||||||
// <component :is="foo">{{ bar }}</component>
|
// <component :is="foo">{{ bar }}</component>
|
||||||
// - content is compiled as slot
|
// - content is compiled as slot
|
||||||
|
|
Loading…
Reference in New Issue