Bun test is crazy fast, but unfortunately we just switched back to Vitest
Bun test is crazy fast, but unfortunately we just switched back to Vitest.
Why? Because Bun has an awful mocking bug: Mocks leak.
A mock in one test "leaks" and applies to all tests.
Reported in 2024 and still not fixed.
Shame since Bun test is great otherwise.
https://github.com/oven-sh/bun/issues/12823