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

This commit is contained in:
huangkairan 2021-09-02 21:44:38 +08:00 committed by GitHub
parent c00925ed5c
commit 592cdbdd7c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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