test: check the destination preset table as data (#506)

Supersedes #168 by @daikaginza, ported onto the current component layout with fixes from review.

Verified before merge: format, package boundaries, unit suite, build, and the browser tracking suite; a browser harness for the change where one applies; adversarial review applied.

Co-authored-by: daikaginza <[email protected]>
This commit is contained in:
Bilawal Sidhuanddaikaginza authored and GitHub committed 2026-09-14 19:08:00 -05:00
1 parent e6deeaeca8
commit 687edc4da7
3 files changed
+207 -1

No files matched your search

+9
View File
@@ -283,6 +283,15 @@ of current runtime behavior, see [`docs/CURRENT-STATE.md`](docs/CURRENT-STATE.md
- Remove the annotation GeoJSON conversion module and its tests. Nothing in the
application read or wrote it, so it carried no behavior. Annotations are
unchanged. Contributed by raiyan22 (#293).
- Check the destination preset table as data: every entry carries the keys the
camera reads, its numbers are finite, its coordinates are on Earth, its camera
angle is one a camera can hold, `viewBounds` latitudes are not swapped, every
landmark lies inside its own destination's `viewBounds` (wrapped, so a view
across the antimeridian is valid), and every `LOCATIONS` row matches the
destination it names. This is a structural guard on the hand-written table for
whoever adds the next destination; it passes on the current entries and makes
no claim about how well any destination is framed. Contributed by daikaginza
(#168).
- Extract application lifecycle and viewer exports. Split standalone startup into
scene setup, controls, layer registration, tools and loading UI. Startup failure