mirror of
https://github.com/bitwarden/browser
synced 2026-02-25 00:53:22 +00:00
Add test cases for the primary use case addressed by this PR: validating OrganizationReportSummary objects without the newApplications field. Tests added: - isOrganizationReportSummary accepts objects without newApplications - isOrganizationReportSummary accepts objects with undefined newApplications - validateOrganizationReportSummary accepts objects without newApplications - validateOrganizationReportSummary accepts objects with undefined newApplications - Validation enforces empty string rejection when newApplications is present - Validation enforces array length limits when newApplications is present - Validation enforces string length limits when newApplications is present This prevents regression where legacy encrypted data (which predates the newApplications field) would fail to decrypt. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>