From 4835a0b7d1ab0841a395b851161ecb1d1b524d8d Mon Sep 17 00:00:00 2001 From: leaftail1880 <110915645+leaftaul1880@users.noreply.github.com> Date: Tue, 3 Sep 2024 18:53:05 +0300 Subject: [PATCH] chore: fix tests --- src/lib/dedupe.test.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/dedupe.test.ts b/src/lib/dedupe.test.ts index 692d2290..9b3bab33 100644 --- a/src/lib/dedupe.test.ts +++ b/src/lib/dedupe.test.ts @@ -6,6 +6,7 @@ describe('dedupe', () => { let lock = 0 const mockFn = vi.fn(async () => { lock++ + // @ts-ignore await new Promise(r => setTimeout(r, 2)) lock-- expect(lock).toBe(0)