]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
test(runtime-core): remove incorrect suspense test in vnode spec (#13782)
authoralentide <59249557+alentide@users.noreply.github.com>
Wed, 20 Aug 2025 12:36:37 +0000 (20:36 +0800)
committerGitHub <noreply@github.com>
Wed, 20 Aug 2025 12:36:37 +0000 (20:36 +0800)
packages/runtime-core/__tests__/vnode.spec.ts

index a7f6a2d5684d5bcb1b80350b901dafce5c28ba44..aa9d4ff35dbd710a7b5b1346e241f129b14c3aa0 100644 (file)
@@ -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
     // <component :is="foo">{{ bar }}</component>
     // - content is compiled as slot