From: Cédric Exbrayat Date: Fri, 7 Mar 2025 08:36:32 +0000 (+0100) Subject: test(reactivity): enable tests marked as todo (#13003) X-Git-Tag: v3.6.0-alpha.1~26 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6f85cbaaa4bf909149feaf7764eda2e34f5712b4;p=thirdparty%2Fvuejs%2Fcore.git test(reactivity): enable tests marked as todo (#13003) PR #12349 marked these tests as todo. They are actually working now. --- diff --git a/packages/reactivity/__tests__/gc.spec.ts b/packages/reactivity/__tests__/gc.spec.ts index 55499ec0a5..6e7a8f7bcd 100644 --- a/packages/reactivity/__tests__/gc.spec.ts +++ b/packages/reactivity/__tests__/gc.spec.ts @@ -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)