test(launches): keep the fixture's toast recorder for the failure-message test

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
Mazeyar Moeini FeizabadiandClaude Opus 5.5 committed 2026-11-06 20:10:34 +01:00
1 parent 5dd7f41436
commit 8da8c05eaf
1 file changed
+3 -1
+3 -1
View File
@@ -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,