Files
bun.sh/test/cli
Claude Bot db221a17f9 refactor(test): replace fixed sleeps with condition-based polling
Replace all fixed Bun.sleep() calls with condition-based polling using
a waitForProcessDeath() helper. This:

1. Follows test guidelines: "wait for conditions instead of arbitrary time"
2. Makes tests faster (processes detected as dead immediately)
3. Makes tests more reliable on slow machines or under load
4. Avoids flaky test failures

The helper polls with 10ms intervals and a 1s timeout, checking if the
process has exited rather than sleeping for a fixed duration.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-07 07:15:40 +00:00
..
2025-05-24 13:36:51 -07:00
2025-10-02 19:12:45 -07:00