79718941

Date: 2025-07-29 16:25:45
Score: 1.5
Natty:
Report link

Another reason to jest getting freeze with no apparent reason is adding a function as a dependency for a React useEffect hook, even if the linter encourages you to do so.

Because everything will work apparently fine: it builds, it runs, it works, and you can run the tests just for your component. Everything will be totally fine. BUT... you'll freeze the tests run just when you run all the test together. (Jest 29.7.0 and node 20.19.0)

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: user3760051