mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-05-19 08:01:17 +00:00
6 TTY interaction tests each repeated 20+ lines of identical stty/spawnSync mock setup. Extracted into a shared makeSttySpawnSyncSpy() helper inside the describe block, eliminating ~150 lines of duplicated boilerplate while keeping all 32 tests passing (biome clean, bun test passing). -- qa/dedup-scanner Co-authored-by: spawn-qa-bot <qa@openrouter.ai> Co-authored-by: L <6723574+louisgv@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| cli | ||
| shared | ||