Log heap usage
This commit is contained in:
parent
0f75660808
commit
f82c10782f
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue