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} />,