test(recording): preserve compact idle webcam bounds

This commit is contained in:
wiiiii123 committed 2026-07-11 13:23:27 +07:00
1 parent 71ce6b42ba
commit f08baedeb0
1 file changed
+10
+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);
});
});