You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CLAUDE.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -70,7 +70,7 @@ You are a **Principal Software Engineer** responsible for:
70
70
#### Vitest Memory Optimization (CRITICAL)
71
71
-**Pool configuration**: Use `pool: 'forks'` with `singleFork: true`, `maxForks: 1`, `isolate: true`
72
72
-**Memory limits**: Set `NODE_OPTIONS="--max-old-space-size=4096 --max-semi-space-size=512"` in `.env.test`
73
-
-**Timeout settings**: Use `testTimeout: 60000, hookTimeout: 60000` for stability
73
+
-**Timeout settings**: Use `testTimeout: 60_000, hookTimeout: 60_000` for stability
74
74
-**Thread limits**: Use `singleThread: true, maxThreads: 1` to prevent RegExp compiler exhaustion
75
75
-**Test cleanup**: 🚨 MANDATORY - Use `await trash([paths])` in test scripts/utilities only. For cleanup within `/src/` test files, use `fs.rm()` with proper error handling
76
76
@@ -367,7 +367,7 @@ This is a TypeScript implementation of the Package URL (purl) specification for
367
367
- Use direct assignment form when passing entire options object to other functions
0 commit comments