mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-15 15:52:21 +00:00
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:
1 parent
5dd7f41436
commit
8da8c05eaf
1 file changed
+3
-1
@@ -191,13 +191,14 @@ async function fixture(t) {
|
|||||||
manager.register(missions);
|
manager.register(missions);
|
||||||
missions.attachDataManager(manager);
|
missions.attachDataManager(manager);
|
||||||
|
|
||||||
|
const toasts = [];
|
||||||
const controls = new ContextControls({
|
const controls = new ContextControls({
|
||||||
elements: {},
|
elements: {},
|
||||||
installations: {},
|
installations: {},
|
||||||
actions: {
|
actions: {
|
||||||
getCockpit: () => null,
|
getCockpit: () => null,
|
||||||
claimVisualAuthority: noop,
|
claimVisualAuthority: noop,
|
||||||
showToast: noop,
|
showToast: (message) => toasts.push(message),
|
||||||
setClearBusy: noop,
|
setClearBusy: noop,
|
||||||
syncDetection: noop,
|
syncDetection: noop,
|
||||||
scheduleLayout: noop,
|
scheduleLayout: noop,
|
||||||
@@ -234,6 +235,7 @@ async function fixture(t) {
|
|||||||
manager,
|
manager,
|
||||||
controls,
|
controls,
|
||||||
missions,
|
missions,
|
||||||
|
toasts,
|
||||||
state,
|
state,
|
||||||
camera,
|
camera,
|
||||||
rosters,
|
rosters,
|
||||||
|
|||||||
Reference in new issue
Block a user