You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I am using Bull in some of my API calls in express.js.
I am writing now tests in jest, using supertest to make calls to my API. But the bull Job has not finished in the Queue when my test checks on the result and gives failed test.
Currently, I am using a sleep function with a setTimeout, is not very accurate. Is there a way with Bull and jest to check the result after the Queue job has finished?
The text was updated successfully, but these errors were encountered:
Hello, I am using Bull in some of my API calls in express.js.
I am writing now tests in jest, using supertest to make calls to my API. But the bull Job has not finished in the Queue when my test checks on the result and gives failed test.
Currently, I am using a sleep function with a
setTimeout
, is not very accurate. Is there a way with Bull and jest to check the result after the Queue job has finished?The text was updated successfully, but these errors were encountered: