From 3ed6b7e81f490eaeab170222ac46e1563f0b4543 Mon Sep 17 00:00:00 2001 From: iHiD <286476+iHiD@users.noreply.github.com> Date: Mon, 23 Nov 2026 12:29:22 +0900 Subject: [PATCH] Exit Jest once the tests finish, even if the solution leaves timers running A solution that leaves a timer or interval running kept Jest from exiting, so the run waited for the container's 30 second timeout after the results were already written. --forceExit makes Jest exit as soon as the tests finish. The results are 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 insertion(+) diff --git a/bin/run.sh b/bin/run.sh index 17333d4..4250fd9 100755 --- a/bin/run.sh +++ b/bin/run.sh @@ -369,6 +369,7 @@ cd "${COREPACK_ROOT_DIR}" && "${bin_jest}" "${OUTPUT}*" \ --roots "${OUTPUT}" \ --setupFilesAfterEnv ${SETUP} \ --verbose false \ + --forceExit \ --testLocationInResults # Convert exit(1) (jest worked, but there are failing tests) to exit(0)