mirror of
https://github.com/oven-sh/bun
synced 2026-02-18 14:51:52 +00:00
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>