Files
bun.sh/packages
pfg 785a3ca13f feat: implement vi.runAllTimers() to execute all fake timers immediately
Added support for vi.runAllTimers() which fires all pending fake timers at once. This is useful for testing code with timers without waiting for real time to pass.

- Added separate vi_timers heap to track fake timers
- Added is_vi_timer field to EventLoopTimer to identify fake timers
- Added allowFakeTimers() method to Tag enum to control which timer types can be faked
- Implemented runAllTimers function that drains all vi_timers
- Added comprehensive test suite for runAllTimers functionality

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-14 15:40:48 -07:00
..