From b5018b8cc289b0131f51bd6e901751f2c72ecddd Mon Sep 17 00:00:00 2001 From: Sameh Khamis Date: Wed, 18 Nov 2026 21:25:05 -0800 Subject: [PATCH] Let the cockpit focus test reach its check The test's camera and rendering doubles now carry what focusing a mission uses, so without the cockpit guard the test fails on the camera flight rather than on a missing double. Co-authored-by: Manjunath Paparaju --- src/layers/launches/worldTime.test.mjs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/layers/launches/worldTime.test.mjs b/src/layers/launches/worldTime.test.mjs index f16cd1fdd1..76f1b02c4e 100644 --- a/src/layers/launches/worldTime.test.mjs +++ b/src/layers/launches/worldTime.test.mjs @@ -42,6 +42,8 @@ function scene(t) { pose: () => ({ position: { x: 2e7, y: 0, z: 0 } }), on: () => () => {}, flyTo: (...args) => flights.push(args), + lookAt: noop, + release: noop, }, }); t.after(unbind); @@ -71,6 +73,7 @@ function scene(t) { }; parts.selection = createSelection({ state, services, parts }); const rendering = createRendering({ state, services, parts }); + parts.rendering = rendering; rendering.attach(viewer); rendering.showMissions(true); rendering.addLaunchEntity(launch, null);