github.com
Using queue.process during test prevent jest from exiting · Issue #2244 · OptimalBits/bull
Description If queue.process appears at least once in the code executed during the tests, then jest does not exit one second after the test run has completed. If i put await in front of queue.proce...