Skip to content

Commit

Permalink
chore: remove unnecessary 'async' for test case (#4490)
Browse files Browse the repository at this point in the history
  • Loading branch information
huangkairan authored Sep 2, 2021
1 parent c00925e commit 592cdbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/reactivity/__tests__/effectScope.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 592cdbd

Please sign in to comment.