Browse Source

chore: remove unnecessary 'async' for test case (#4490)

pull/4466/head
huangkairan 4 years ago
committed by GitHub
parent
commit
592cdbdd7c
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      packages/reactivity/__tests__/effectScope.spec.ts

2
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)

Loading…
Cancel
Save