-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ELDHISTOGRAM open handle #10020
Comments
Since these handles don't actually keep the process open, we should just skip them here: https://github.com/facebook/jest/blob/0e0eeed9d794fe0d6d7e84f555d9684f9e944221/packages/jest-core/src/collectHandles.ts#L55-L57 |
@SimenB: will the following due? if (['PROMISE', 'TIMEWRAP', 'ELDHISTOGRAM'].includes(type)) {
return;
} |
You can make that change in your own For a PR we'll also need a test, but I can help out with that once a PR is open π |
@SimenB: made the modification at |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
π Bug Report
i use prom-client version 12.0.0.
when i run
jest --detectOpenHandles
i getTo Reproduce
$ npm install prom-client --save $ npm test prom.test.js
Expected behavior
when running
jest --detectOpenHandles
, it should not detectELDHISTOGRAM
as open handleenvinfo
The text was updated successfully, but these errors were encountered: