Repository navigation
Conversation
🤖 Bitwarden Claude Code ReviewOverall Assessment: APPROVE This PR changes only tests, in four spec files: browser account security, desktop settings dialog, web login component service, and emergency access service. Each |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## ac/pm-44990/sdk-policy-consumers-tools #24208 +/- ##
==========================================================================
- Coverage 61.05% 61.04% -0.01%
==========================================================================
Files 4872 4872
Lines 156188 156188
Branches 25000 25000
==========================================================================
- Hits 95353 95348 -5
- Misses 54303 54308 +5
Partials 6532 6532 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
8c12f48 to
1446a55
Compare
1446a55 to
ed49961
Compare
🎟️ Tracking
https://bitwarden.atlassian.net/browse/PM-44990
📔 Objective
Build
Policytest fixtures by passing a fullPolicyDatato the constructor, instead of callingnew Policy()and setting properties afterwards. Covers the browser account security, desktop settings dialog and web login component specs. The emergency access spec now checks the real result of mapping an SDK policy, instead of spying onPolicy.fromSdkPolicy.This prepares for #24086, which makes the
Policyconstructor argument required. These changes already work with the currentPolicy, so this PR can merge first.📸 Screenshots
N/A