From: alentide <59249557+alentide@users.noreply.github.com> Date: Wed, 20 Aug 2025 12:36:37 +0000 (+0800) Subject: test(runtime-core): remove incorrect suspense test in vnode spec (#13782) X-Git-Tag: v3.5.19~21 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8963b7979af1aa26925a8dc87fc7a71a7e14dac5;p=thirdparty%2Fvuejs%2Fcore.git test(runtime-core): remove incorrect suspense test in vnode spec (#13782) --- diff --git a/packages/runtime-core/__tests__/vnode.spec.ts b/packages/runtime-core/__tests__/vnode.spec.ts index a7f6a2d568..aa9d4ff35d 100644 --- a/packages/runtime-core/__tests__/vnode.spec.ts +++ b/packages/runtime-core/__tests__/vnode.spec.ts @@ -553,18 +553,6 @@ describe('vnode', () => { 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 // {{ bar }} // - content is compiled as slot