Test Gaps
"/home/yossef/notes/git/projects/maplibra/risks/Test Gaps.md"
path: maplibra/risks/Test Gaps.md
- **fileName**: Test Gaps
- **Created on**: 2026-06-16 00:48:42
Test Gaps
Migrated from: obs_vault
This note records where the current test suite is strongest and where direct coverage is still thin.
Strong Coverage
- snapping
- rooms
- route features
- route smoothing
- routing cost
- controller flows
- graph loaders
- binary parity
Weak Coverage
resolveStartNodeandresolveTargetNode- entrance snap candidate behavior
- detailed door candidate ranking helpers
- walkable-area initialization and smooth segment validation
- wall-door exception helpers in the graph builder
- shell bootstrap teardown and keyboard wiring
- theme controller listener cleanup
- search selection payloads and floor-change dispatch
- offline service-worker manifest drift and packaging behavior
- runtime flag / telemetry / debug lazy import behavior
applyThemeToMap()allowlist behavior and building-shell preservation- offline static JSON parity with dynamic offline style generation
LayerManager.reapplyThemeColors()coverage for doors, labels, fast wall lines, and feature-state expressions
Extra Test Files To Check
tests/ui-manager-floor-menu.test.jstests/ui-manager-location.test.jstests/live-location-interactions.test.jstests/pathfinding-events.test.jstests/visibility-manager.test.jstests/style-layer.test.jstests/theme-host-mode.test.jstests/navigation-icon-theme.test.jstests/basemap-style.test.jstests/runtime-flags.test.jstests/rollout-telemetry.test.jstests/performance-routing.test.jstests/perf-budget.test.jstests/bootstrap-debug.test.jstests/debug-location.test.jstests/startup-offline-package.test.jstests/offline-package-derived-cache.test.js
Test Files To Start From
tests/snapping.test.jstests/rooms.test.jstests/route-features.test.jstests/route-smoothing.test.jstests/route-phase1-fixtures.test.jstests/zip-node-builder.test.jstests/search-bootstrap.test.jstests/bootstrap-search-lazy.test.jstests/search-box-inline-host.test.js
See Also
-
continue:[[]]
before:[[]]