Repository navigation
[PM-44990] Build Policy test fixtures from PolicyData in vault - #24206
Conversation
🤖 Bitwarden Claude Code ReviewOverall Assessment: APPROVE This PR changes two test-only files, the browser vault Storybook stories and the web organization options spec. Both now build |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #24206 +/- ##
=======================================
Coverage 60.49% 60.50%
=======================================
Files 4817 4817
Lines 153760 153760
Branches 24538 24538
=======================================
+ Hits 93023 93025 +2
+ Misses 54355 54352 -3
- Partials 6382 6383 +1 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
3ad7d4a to
d6d3977
Compare
Auto-merge was disabled for another pull request in the stack
🎟️ 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 vault stories and the web organization options spec.This prepares for #24086, which makes the
Policyconstructor argument required.📸 Screenshots
N/A