mirror of
https://github.com/oven-sh/bun
synced 2026-02-15 05:12:29 +00:00
Add expect.addSnapshotSerializer() API that matches Jest/Vitest behavior: - Per-file serializer registry with ordered precedence (last added wins) - Custom object serialization with test() and serialize() methods - Proper integration with existing snapshot comparison pipeline - Comprehensive test coverage for functionality and edge cases 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>