Log heap usage

This commit is contained in:
Adria Navarro 2023-07-27 17:14:34 +02:00
parent 0f75660808
commit f82c10782f
2 changed files with 1 additions and 2 deletions

View File

@ -16,7 +16,6 @@ const baseConfig: Config.InitialProjectOptions = {
"@budibase/shared-core": "<rootDir>/../shared-core/src",
"@budibase/types": "<rootDir>/../types/src",
},
workerIdleMemoryLimit: "50%",
}
// add pro sources if they exist

View File

@ -7,7 +7,7 @@ then
export NODE_OPTIONS="--max-old-space-size=4096"
node ../../node_modules/jest/bin/jest.js --version
echo "node --expose-gc --no-compilation-cache ../../node_modules/jest/bin/jest.js"
node --expose-gc --no-compilation-cache ../../node_modules/jest/bin/jest.js
node --expose-gc --no-compilation-cache ../../node_modules/jest/bin/jest.js --logHeapUsage
else
# --maxWorkers performs better in development
echo "jest --coverage --maxWorkers=2 --forceExit"