A spy satellite simulator in your browser, except the data is real. Live open source spatial intelligence on a photorealistic 3D globe.
JavaScript 3d-globecesiumflight-trackinggeospatialgeospatial-intelligencegisosintphotogrammetrysatellite-trackingspatial-intelligencewebglworldview
test: keep provider fixtures independent of calendar time
Sameh Khamis2e3cb6270a74
diff --git a/src/tooling/liveProviders.test.mjs b/src/tooling/liveProviders.test.mjsindex b61de4eeb..edbc94e14 100644--- a/src/tooling/liveProviders.test.mjs+++ b/src/tooling/liveProviders.test.mjs@@ -129,7 +129,7 @@ test('OpenSky state and track routes share tokens, retain cache and use regionalconst fresh = await import(`../../server/providers/aircraft/opensky.js?fallback=${now}`);- environment(t, { OPENSKY_AUTH_MODE: 'anon' });+ process.env.OPENSKY_AUTH_MODE = 'anon';const fallback = await install(fresh.openSkyProxy())('/api/opensky','?lat=30&lon=-97',@@ -177,8 +177,8 @@ test('AIS preview route ingests through the socket, returns tracks and disposessocket.on('message', (raw) => {assert.equal(JSON.parse(raw).APIKey, 'fixture-key');for (const [lat, epoch] of [- [30, 1_800_000_000],- [30.01, 1_800_000_060],+ [30, Math.floor(Date.now() / 1000) - 120],+ [30.01, Math.floor(Date.now() / 1000) - 60],]) {socket.send(JSON.stringify({