From 1424b4359fc2fb0f3339176cffd4d55d6da79a52 Mon Sep 17 00:00:00 2001 From: Michael Drury Date: Mon, 27 Mar 2023 23:35:32 +0100 Subject: [PATCH] Making sure server tests end correctly with forceExit. --- packages/server/scripts/test.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/server/scripts/test.sh b/packages/server/scripts/test.sh index 21c2bfef51..d367f51c0b 100644 --- a/packages/server/scripts/test.sh +++ b/packages/server/scripts/test.sh @@ -3,8 +3,8 @@ if [[ -n $CI ]] then # --runInBand performs better in ci where resources are limited - echo "jest --coverage --runInBand" - jest --coverage --runInBand + echo "jest --coverage --runInBand --forceExit" + jest --coverage --runInBand --forceExit else # --maxWorkers performs better in development echo "jest --coverage --maxWorkers=2"