Commit 9039500
committed
perf: Optimize Jest configuration for CI stability
- Set maxWorkers to 50% to reduce memory pressure
- Add workerIdleMemoryLimit of 512MB per worker
- Set testTimeout to 30s for slow tests
- Remove NODE_OPTIONS overrides (use Jest config instead)
Fixes worker termination issues in CI while maintaining test reliability1 parent 9ce2e8f commit 9039500
2 files changed
+6
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
21 | 24 | | |
0 commit comments