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
Hi all, I'm writing some unit tests for a class that uses a PQueue internally (to manage HTTP requests to be made) and I've been getting the following error after every test run:
Jest has detected the following 1 open handle potentially keeping Jest from exiting:
Jest points to a particular culprit function call which is the queue.add() method.
I've tried to do a .clear() of the internal queue after each test runs but got no luck there, for reasons unknown to me.
Is this an issue with the library or am I doing something wrong?
The text was updated successfully, but these errors were encountered:
Hi all, I'm writing some unit tests for a class that uses a PQueue internally (to manage HTTP requests to be made) and I've been getting the following error after every test run:
Jest points to a particular culprit function call which is the
queue.add()
method.I've tried to do a
.clear()
of the internal queue after each test runs but got no luck there, for reasons unknown to me.Is this an issue with the library or am I doing something wrong?
The text was updated successfully, but these errors were encountered: