From 8da8c05eaf5b065fdb547480f18a5342e00d4f42 Mon Sep 17 00:00:00 2001 From: Mazeyar Moeini Feizabadi Date: Fri, 6 Nov 2026 20:10:34 +0100 Subject: [PATCH] test(launches): keep the fixture's toast recorder for the failure-message test Co-Authored-By: Claude Opus 5.5 --- src/layers/launches/failedEntry.test.mjs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/layers/launches/failedEntry.test.mjs b/src/layers/launches/failedEntry.test.mjs index d43a5c6e9..a2bccad7d 100644 --- a/src/layers/launches/failedEntry.test.mjs +++ b/src/layers/launches/failedEntry.test.mjs @@ -191,13 +191,14 @@ async function fixture(t) { manager.register(missions); missions.attachDataManager(manager); + const toasts = []; const controls = new ContextControls({ elements: {}, installations: {}, actions: { getCockpit: () => null, claimVisualAuthority: noop, - showToast: noop, + showToast: (message) => toasts.push(message), setClearBusy: noop, syncDetection: noop, scheduleLayout: noop, @@ -234,6 +235,7 @@ async function fixture(t) { manager, controls, missions, + toasts, state, camera, rosters,