test(recording): preserve compact idle webcam bounds

This commit is contained in:
wiiiii123
2026-07-11 13:23:27 +07:00
parent aafc751037
commit 3252e0d0da
+10
View File
@@ -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);
});
});