Tests: jest hangs on CI, even when all tests pass
Jest hangs with error:
Jest did not exit one second after the test run has completed.
This usually means that there are asynchronous operations that weren't stopped in your tests. Consider running Jest with --detectOpenHandles
to troubleshoot this issue.
Edited by Florent Coriat