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 <[email protected]>
This commit is contained in:
Sameh KhamisandManjunath Paparaju committed 2026-11-18 21:25:05 -08:00
1 parent cdde80f3ad
commit b5018b8cc2
1 file changed
+3
+3
View File
@@ -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);