From c50d14dbfdb0b63e7b8fcfa526c4aeed9c2cce41 Mon Sep 17 00:00:00 2001 From: iHiD <286476+iHiD@users.noreply.github.com> Date: Sun, 22 Nov 2026 19:35:13 +0900 Subject: [PATCH] Stop tracking open handles in every run --detectOpenHandles records a stack trace for every timer, promise and other async resource that a run creates, which took about 15% of each run. A solution that leaves a handle open still keeps Jest from exiting, as before, so the output is the same. Co-authored-by: iHiD <286476+iHiD@users.noreply.github.com> Co-Authored-By: Claude Opus 5.5 --- bin/run.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/bin/run.sh b/bin/run.sh index e1a8079..17333d4 100755 --- a/bin/run.sh +++ b/bin/run.sh @@ -369,7 +369,6 @@ cd "${COREPACK_ROOT_DIR}" && "${bin_jest}" "${OUTPUT}*" \ --roots "${OUTPUT}" \ --setupFilesAfterEnv ${SETUP} \ --verbose false \ - --detectOpenHandles \ --testLocationInResults # Convert exit(1) (jest worked, but there are failing tests) to exit(0)