]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
chore: remove unnecessary 'async' for test case (#4490)
authorhuangkairan <56213366+huangkairan@users.noreply.github.com>
Thu, 2 Sep 2021 13:44:38 +0000 (21:44 +0800)
committerGitHub <noreply@github.com>
Thu, 2 Sep 2021 13:44:38 +0000 (09:44 -0400)
packages/reactivity/__tests__/effectScope.spec.ts

index 9eac6da1ac600a852da40b642de3c3a0e20c66e6..3ce8affe78cbfce375b9fd1a4532016b85bb2f78 100644 (file)
@@ -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)