test(dashboard): type the module cases of the add-menu parity check

Refs #1085
This commit is contained in:
Marc-André Bombeck committed 2026-10-02 21:44:37 +02:00
1 parent 69f19ec232
commit d9dfa7e5db
1 file changed
+3 -2
@@ -148,13 +148,14 @@ describe("<DashboardHeader> — every entry follows its module, as the capture p
});
it("offers exactly what the capture picker offers for the same modules", () => {
for (const modules of [
const cases: Array<Record<string, boolean> | undefined> = [
undefined,
{ mood: false },
{ medications: false },
{ workouts: false },
{ mood: false, medications: false, workouts: false },
]) {
];
for (const modules of cases) {
modulesRef.value = modules;
const html = renderSSR(
<DashboardHeader onQuickEntry={() => undefined} />,