Conversation
Signed-off-by: Emre Bogazliyanlioglu <emre@wormholelabs.xyz>
📝 WalkthroughWalkthroughThis pull request refactors timeout handling in the CLI help test file by introducing a global default timeout using Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Every test in this file spawns CLI subprocesses, but only some had the 30s timeout, the rest used Bun's 5s default. We need to fix that by using
setDefaultTimeout(SUBPROCESS_TIMEOUT)for the entire file.Summary by CodeRabbit