From d9dfa7e5db0235298e9d9cfdaf422ba035f774dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Bombeck?= Date: Fri, 2 Oct 2026 21:44:37 +0200 Subject: [PATCH] test(dashboard): type the module cases of the add-menu parity check Refs #1085 --- src/components/dashboard/__tests__/dashboard-header.test.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/components/dashboard/__tests__/dashboard-header.test.tsx b/src/components/dashboard/__tests__/dashboard-header.test.tsx index df1e6b7a6..0e5579c44 100644 --- a/src/components/dashboard/__tests__/dashboard-header.test.tsx +++ b/src/components/dashboard/__tests__/dashboard-header.test.tsx @@ -148,13 +148,14 @@ describe(" — 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 | 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( undefined} />,