1
0
Fork 0
mirror of synced 2024-10-06 04:54:52 +13:00

Making sure server tests end correctly with forceExit.

This commit is contained in:
Michael Drury 2023-03-27 23:35:32 +01:00
parent 878d0f6dab
commit 1424b4359f

View file

@ -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"