From 49f4a55a3d48a48101b20d8f195f3312705ad5bf Mon Sep 17 00:00:00 2001 From: Cristian Greco Date: Mon, 2 May 2022 10:06:07 +0100 Subject: [PATCH] Do not report SIGNREQUEST as an open handle Fixes https://github.com/facebook/jest/issues/12775. --- packages/jest-core/src/collectHandles.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/jest-core/src/collectHandles.ts b/packages/jest-core/src/collectHandles.ts index 61afcf7fd846..5e69fd920e71 100644 --- a/packages/jest-core/src/collectHandles.ts +++ b/packages/jest-core/src/collectHandles.ts @@ -72,7 +72,8 @@ export default function collectHandles(): HandleCollectionResult { type === 'PerformanceObserver' || type === 'RANDOMBYTESREQUEST' || type === 'DNSCHANNEL' || - type === 'ZLIB' + type === 'ZLIB' || + type === 'SIGNREQUEST' ) { return; }