From 592cdbdd7c78f934151ee2ec63f3470c463157b9 Mon Sep 17 00:00:00 2001 From: huangkairan <56213366+huangkairan@users.noreply.github.com> Date: Thu, 2 Sep 2021 21:44:38 +0800 Subject: [PATCH] chore: remove unnecessary 'async' for test case (#4490) --- packages/reactivity/__tests__/effectScope.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/reactivity/__tests__/effectScope.spec.ts b/packages/reactivity/__tests__/effectScope.spec.ts index 9eac6da1ac6..3ce8affe78c 100644 --- a/packages/reactivity/__tests__/effectScope.spec.ts +++ b/packages/reactivity/__tests__/effectScope.spec.ts @@ -211,7 +211,7 @@ describe('reactivity/effect/scope', () => { expect(spy).toHaveBeenCalledTimes(1) }) - it('should derefence child scope from parent scope after stopping child scope (no memleaks)', async () => { + it('should derefence child scope from parent scope after stopping child scope (no memleaks)', () => { const parent = new EffectScope() const child = parent.run(() => new EffectScope())! expect(parent.scopes!.includes(child)).toBe(true)