mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-05-01 21:30:21 +00:00
Redirects HOME and XDG dirs to a temp directory before tests run, preventing any test from accidentally writing to the real user's home directory (e.g. ~/.claude/settings.json, ~/.zshrc). Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2 lines
48 B
TOML
2 lines
48 B
TOML
[test]
|
|
preload = ["./src/__tests__/preload.ts"]
|