diff --git a/packages/backend-core/scripts/test.sh b/packages/backend-core/scripts/test.sh index 4bf1900984..2965134399 100644 --- a/packages/backend-core/scripts/test.sh +++ b/packages/backend-core/scripts/test.sh @@ -3,10 +3,10 @@ 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" jest --coverage -fi \ No newline at end of file +fi diff --git a/packages/worker/scripts/test.sh b/packages/worker/scripts/test.sh index 2f3f54cb25..d367f51c0b 100644 --- a/packages/worker/scripts/test.sh +++ b/packages/worker/scripts/test.sh @@ -3,10 +3,10 @@ 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" jest --coverage --maxWorkers=2 -fi \ No newline at end of file +fi