Skip to content

fix(bun:test): return an object when a mock function is constructed - #31620

Closed
robobun wants to merge 2 commits into
mainfrom
farm/2c93f5e1/mock-construct-non-object
Closed

fix(bun:test): return an object when a mock function is constructed#31620
robobun wants to merge 2 commits into
mainfrom
farm/2c93f5e1/mock-construct-non-object

fix(bun:test): record mock.instances on every call (matches jest)

6346360
Select commit
Loading
Failed to load commit list.
Claude / Claude Code Review completed May 31, 2026 in 10m 11s

Code review found no issues

No high-confidence issues detected in this change.

Details

Severity Count
🔴 Important 0
🟡 Nit 0
🟣 Pre-existing 0