diff --git a/electron/hudOverlayBounds.test.ts b/electron/hudOverlayBounds.test.ts index dcc4daef..db21e92b 100644 --- a/electron/hudOverlayBounds.test.ts +++ b/electron/hudOverlayBounds.test.ts @@ -175,4 +175,14 @@ describe("shouldExpandHudOverlayFallback", () => { }), ).toBe(true); }); + + it("does not expand for webcam visibility outside recording", () => { + expect( + shouldExpandHudOverlayFallback({ + fallbackExpanded: false, + recordingActive: false, + webcamPreviewVisible: true, + }), + ).toBe(false); + }); });