test(sheets): give the mocked sheet its dirty check

The capture picker and the mood page import `sheetBodyHasUnsavedInput`
from the sheet module now, and two tests that replace that module with
a stub failed on the missing export.
This commit is contained in:
Marc-André Bombeck committed 2026-11-11 21:48:00 +01:00
1 parent 3a249bccba
commit 177e85f9c3
2 files changed
+2

No files matched your search

@@ -33,6 +33,7 @@ vi.mock("@/components/ui/responsive-sheet", () => ({
open: boolean;
children: React.ReactNode;
}) => (open ? <section>{children}</section> : null),
sheetBodyHasUnsavedInput: () => false,
}));
vi.mock("@/components/dashboard/quick-entry-forms.lazy", () => ({