From 51af154215faf465bc1dc4f3f06dceefa757d0cf Mon Sep 17 00:00:00 2001 From: Sam Rose Date: Wed, 3 Apr 2024 16:49:42 +0100 Subject: [PATCH] Add --coverage back to local tests for packages/server --- packages/server/scripts/test.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/server/scripts/test.sh b/packages/server/scripts/test.sh index 688cfbc35f..4b456e4731 100644 --- a/packages/server/scripts/test.sh +++ b/packages/server/scripts/test.sh @@ -4,11 +4,9 @@ set -e if [[ -n $CI ]] then export NODE_OPTIONS="--max-old-space-size=4096 --no-node-snapshot $NODE_OPTIONS" - echo "jest --coverage --maxWorkers=4 --forceExit --workerIdleMemoryLimit=2000MB --bail $@" jest --coverage --maxWorkers=4 --forceExit --workerIdleMemoryLimit=2000MB --bail $@ else # --maxWorkers performs better in development export NODE_OPTIONS="--no-node-snapshot $NODE_OPTIONS" - echo "jest --coverage --maxWorkers=2 --forceExit $@" - jest --maxWorkers=2 --forceExit $@ + jest --coverage --maxWorkers=2 --forceExit $@ fi \ No newline at end of file