mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-06 11:24:00 +00:00
test: isolate tracking from public installation source outages
This commit is contained in:
1 parent
6610403437
commit
2bf2742ca0
1 file changed
+13
@@ -365,6 +365,19 @@ async function main() {
|
|||||||
lastMessageAt: null,
|
lastMessageAt: null,
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
|
// Contacts also enables mapped installations. This tracking harness
|
||||||
|
// does not test installation acquisition; a valid empty viewport keeps
|
||||||
|
// public Overpass outages out of aircraft/satellite tracking results.
|
||||||
|
// Preserve the real response shape and all console-error assertions.
|
||||||
|
if (isAppRequest && url.pathname === '/api/military-installations') {
|
||||||
|
return Promise.resolve(jsonResponse({
|
||||||
|
elements: [],
|
||||||
|
saturated: false,
|
||||||
|
elementCap: 700,
|
||||||
|
retrievedAt: new Date().toISOString(),
|
||||||
|
status: 'ready',
|
||||||
|
}));
|
||||||
|
}
|
||||||
// CelesTrak TLE groups. Served from a fixed two-satellite catalog so
|
// CelesTrak TLE groups. Served from a fixed two-satellite catalog so
|
||||||
// the satellite assertions are deterministic and the run never depends
|
// the satellite assertions are deterministic and the run never depends
|
||||||
// on an upstream that rate-limits (it was answering 403 the night this
|
// on an upstream that rate-limits (it was answering 403 the night this
|
||||||
|
|||||||
Reference in new issue
Block a user