build: Set Jest workerIdleMemoryLimit on local env (no-changelog) (#13780)

This commit is contained in:
Elias Meire
2025-03-10 11:27:25 +01:00
committed by GitHub
parent 080fc514e6
commit 8cbb188598
3 changed files with 39 additions and 32 deletions

View File

@@ -37,10 +37,10 @@ const config = {
collectCoverage: isCoverageEnabled,
coverageReporters: ['text-summary', 'lcov', 'html-spa'],
collectCoverageFrom: ['src/**/*.ts'],
workerIdleMemoryLimit: '1MB',
};
if (process.env.CI === 'true') {
config.workerIdleMemoryLimit = 1024;
config.coverageReporters = ['cobertura'];
}