From: huangkairan <56213366+huangkairan@users.noreply.github.com> Date: Thu, 2 Sep 2021 13:44:38 +0000 (+0800) Subject: chore: remove unnecessary 'async' for test case (#4490) X-Git-Tag: v3.2.8~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=592cdbdd7c78f934151ee2ec63f3470c463157b9;p=thirdparty%2Fvuejs%2Fcore.git chore: remove unnecessary 'async' for test case (#4490) --- diff --git a/packages/reactivity/__tests__/effectScope.spec.ts b/packages/reactivity/__tests__/effectScope.spec.ts index 9eac6da1ac..3ce8affe78 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)