Files
bun.sh/packages
Claude Bot 859eacf789 Fix missing mock.clearAllMocks property
Fixes #21437 by adding the missing clearAllMocks method to the mock object.

The clearAllMocks function was already implemented in jest.zig and available
on the jest object, but was not exposed on the mock object despite being
documented. This commit:

1. Adds clearAllMocks to the mock object type definition in test.d.ts
2. Exposes the existing clearAllMocks function on the mock object in jest.zig
3. Adds regression tests to verify the functionality

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-02 01:11:45 +00:00
..
2025-07-10 00:10:43 -07:00
2025-07-10 00:10:43 -07:00