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

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)