Revert "[ci] Increase heap of Jest"

This reverts commit 87c7289b74.
This commit is contained in:
Tyler Smalley 2021-11-02 10:05:31 -07:00
parent 441003df5c
commit 5d557539e4

View file

@ -14,7 +14,7 @@ exitCode=0
find src x-pack packages -name jest.config.js -not -path "*/__fixtures__/*" | sort | while read config; do
if [ "$(($i % $JOB_COUNT))" -eq $JOB ]; then
echo "--- $ node scripts/jest --config $config"
node --max-old-space-size=7168 ./node_modules/.bin/jest --config=$config --runInBand --coverage=false
node --max-old-space-size=5632 ./node_modules/.bin/jest --config=$config --runInBand --coverage=false
if [ $? -ne 0 ]; then
exitCode=10