mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-10-27 16:02:26 +00:00
- Moved `getPanelMetrics`, `getPanelWithTriggerMetrics`, and `assertWithinViewport` to module scope to avoid duplication.
- Updated metric assertions to use `popoverMaxWidth` instead of the incorrect `inlineMaxWidth`.
- Added a sanity check `expect(metrics).toHaveProperty("popoverMaxWidth")` to ensure helper correctness.
- Enabled previously commented-out assertions in "popover demo alignments" tests.