Making sure server tests end correctly with forceExit.
This commit is contained in:
parent
878d0f6dab
commit
1424b4359f
|
@ -3,8 +3,8 @@
|
||||||
if [[ -n $CI ]]
|
if [[ -n $CI ]]
|
||||||
then
|
then
|
||||||
# --runInBand performs better in ci where resources are limited
|
# --runInBand performs better in ci where resources are limited
|
||||||
echo "jest --coverage --runInBand"
|
echo "jest --coverage --runInBand --forceExit"
|
||||||
jest --coverage --runInBand
|
jest --coverage --runInBand --forceExit
|
||||||
else
|
else
|
||||||
# --maxWorkers performs better in development
|
# --maxWorkers performs better in development
|
||||||
echo "jest --coverage --maxWorkers=2"
|
echo "jest --coverage --maxWorkers=2"
|
||||||
|
|
Loading…
Reference in New Issue