huangkairan
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
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) |
|
|
|