Skip to content

Commit 469d54a

Browse files
committed
make cron test less strict
1 parent 458e4b8 commit 469d54a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/redis-worker/src/cron.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ describe("Worker with cron", () => {
4242

4343
await setTimeout(6_000);
4444

45-
expect(processedItems.length).toBe(1);
45+
expect(processedItems.length).toBeGreaterThanOrEqual(1);
4646

4747
const firstItem = processedItems[0];
4848

0 commit comments

Comments
 (0)