refactor(satellite): use MapUtils.init + HUD on ground track map

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
James Smith
2026-04-13 22:56:20 +01:00
parent 12af6e250e
commit 7dfefb48e6
2 changed files with 32 additions and 86 deletions

View File

@@ -40,3 +40,14 @@ def test_ais_dashboard_includes_map_utils(client):
html = resp.data.decode()
assert "map-utils.js" in html
assert "MapUtils.init" in html
def test_satellite_dashboard_includes_map_utils(client):
"""Satellite dashboard loads map-utils.js."""
with client.session_transaction() as sess:
sess["logged_in"] = True
resp = client.get("/satellite/dashboard")
assert resp.status_code == 200
html = resp.data.decode()
assert "map-utils.js" in html
assert "MapUtils.init" in html