From cfe573c6e646002cff713f1557809a8d777d1a4d Mon Sep 17 00:00:00 2001 From: Bilawal Sidhu Date: Tue, 15 Sep 2026 02:32:49 -0500 Subject: [PATCH] test: update additive tool inventory and satellite boundary closure --- scripts/package-boundaries.json | 1 + src/radioMarkup.test.mjs | 8 +++++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/scripts/package-boundaries.json b/scripts/package-boundaries.json index 30fbc6971..2de39fa85 100644 --- a/scripts/package-boundaries.json +++ b/scripts/package-boundaries.json @@ -1719,6 +1719,7 @@ "src/data/infrastructure.js", "src/data/installationFeedback.js", "src/data/issPass.js", + "src/data/satellitePass.js", "src/data/labelArbiter.js", "src/data/layerState.js", "src/data/localGeojson.js", diff --git a/src/radioMarkup.test.mjs b/src/radioMarkup.test.mjs index ea8c7ca1c..85ae2cae1 100644 --- a/src/radioMarkup.test.mjs +++ b/src/radioMarkup.test.mjs @@ -24,15 +24,17 @@ const css = readStylesheet(new URL('../style.css', import.meta.url)); function realtimeTools() { return GEV_REALTIME_TOOLS; } -test('Realtime schema exposes the authoritative 28-tool inventory', () => { +test('Realtime schema exposes the authoritative 29-tool inventory', () => { const tools = realtimeTools(); - assert.equal(tools.length, 28); + assert.equal(tools.length, 29); const names = tools.map((tool) => tool.name); - assert.equal(new Set(names).size, 28, 'tool names are unique'); + assert.equal(new Set(names).size, 29, 'tool names are unique'); assert.ok(names.includes('set_context_mode')); assert.ok(names.includes('control_cockpit')); assert.ok(names.includes('select_nearest_aircraft')); assert.ok(names.includes('control_radio')); + assert.ok(names.includes('next_satellite_pass')); + assert.ok(names.includes('next_iss_pass')); // Every tool closes its parameter object: an open schema lets the model // invent arguments the runner silently drops. for (const tool of tools) {