mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-13 06:32:03 +00:00
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:
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", () => ({
|
||||
|
||||
Reference in new issue
Block a user