FAIL src/components/hooks/__tests__/useRunAfter.spec.tsx
● useRunAfter › should run callback after specified delay and skip calls in the middle
expect(received).toBeLessThan(expected)
Expected: < 5
Received: 5
25 | expect(trials).toBeGreaterThan(8)
26 | expect(fn.mock.calls.length).toBeGreaterThan(1)
> 27 | expect(fn.mock.calls.length).toBeLessThan(5)
| ^
28 | })
29 | })
30 |
at Object.toBeLessThan (src/components/hooks/__tests__/useRunAfter.spec.tsx:27:34)