You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
test(web): fix whole-suite vitest regressions from Apex elevation
30 elevation-added FE test files passed in isolation (the per-unit gate ran
only that file) but failed in the full 'vitest run' because later units
hardened shared components/hooks/formatting, leaving stale expectations.
Fixed all 30 to assert current behaviour; corrected real source bugs found
along the way:
- cost-analysis useCostAnalysisData: fix double distance conversion (was
metres->miles before a display fn that converts again) — pass SI metres
directly; add null-safety + finite guards.
- useVehiclePhoto, BreadcrumbOverridesContext, AutomationBuilderPage,
ExportStatusWidget, TirePressureVisualWidget, TripReplayPage, InfoTile,
TelemetryGrid: null-safety / merge / unit-display hardening surfaced by tests.
Full suite: 1574 test files / 23021 tests pass; tsc --noEmit clean.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
0 commit comments