]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
test(reactivity): enable tests marked as todo (#13003)
authorCédric Exbrayat <cexbrayat@users.noreply.github.com>
Fri, 7 Mar 2025 08:36:32 +0000 (09:36 +0100)
committerGitHub <noreply@github.com>
Fri, 7 Mar 2025 08:36:32 +0000 (16:36 +0800)
PR #12349 marked these tests as todo. They are actually working now.

packages/reactivity/__tests__/gc.spec.ts

index 55499ec0a5e4107a67c56ffecf74c6898d393222..6e7a8f7bcd8f10d86189d6c3c1ffa4c5b66a7b3c 100644 (file)
@@ -20,7 +20,7 @@ describe.skipIf(!global.gc)('reactivity/gc', () => {
   }
 
   // #9233
-  it.todo('should release computed cache', async () => {
+  it('should release computed cache', async () => {
     const src = ref<{} | undefined>({})
     // @ts-expect-error ES2021 API
     const srcRef = new WeakRef(src.value!)
@@ -35,7 +35,7 @@ describe.skipIf(!global.gc)('reactivity/gc', () => {
     expect(srcRef.deref()).toBeUndefined()
   })
 
-  it.todo('should release reactive property dep', async () => {
+  it('should release reactive property dep', async () => {
     const src = reactive({ foo: 1 })
 
     let c: ComputedRef | undefined = computed(() => src.foo)