mirror of
https://github.com/bitwarden/browser
synced 2026-02-11 05:53:42 +00:00
The update to jest-mock-extended v4.0.0 was incompatible with the project's current Jest 29 installation. jest-mock-extended v4 requires Jest 30, which would require a larger migration effort. Changes: - Downgrade jest-mock-extended from 4.0.0 to 3.0.7 - Revert test changes to use v3 API (toBeCalled instead of toHaveBeenCalled) - Revert snapshot files to original state This fixes the Docker build failure in CI where npm ci was failing. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>