fix: make nightdrive signage reliable and legible

This commit is contained in:
2026-09-03 02:34:15 +03:00
parent a03d4d8dba
commit cce018d3cb
39 changed files with 4635 additions and 196 deletions

View File

@@ -216,7 +216,13 @@ describe('scene controller lifecycle', () => {
await controller.start();
const input = journey({
routeProgress: 0.25,
sign: { targetId: 'selected-builds', phase: 'approach', progress: 0.2, opacity: 0.5 },
sign: {
targetId: 'selected-builds',
phase: 'approach',
progress: 0.2,
opacity: 0.5,
viewportProfile: 'wide',
},
});
controller.update(input);
@@ -225,7 +231,10 @@ describe('scene controller lifecycle', () => {
harness.scheduler.flushFrame(16);
expect(harness.generations[0]?.render).toHaveBeenCalledWith(
expect.objectContaining({ routeProgress: 0.25, sign: expect.objectContaining({ progress: 0.2 }) }),
expect.objectContaining({
routeProgress: 0.25,
sign: expect.objectContaining({ progress: 0.2, viewportProfile: 'wide' }),
}),
16,
);
});