diff --git a/src/components/insights/__tests__/healthkit-metric-page-hrv-measures.test.tsx b/src/components/insights/__tests__/healthkit-metric-page-hrv-measures.test.tsx index 2f4273ac4..3064ffb45 100644 --- a/src/components/insights/__tests__/healthkit-metric-page-hrv-measures.test.tsx +++ b/src/components/insights/__tests__/healthkit-metric-page-hrv-measures.test.tsx @@ -69,7 +69,9 @@ function charts(html: string): Array<{ types: string; title: string }> { ); } -beforeEach(() => analyticsMock.mockReset()); +beforeEach(() => { + analyticsMock.mockReset(); +}); describe("/insights/hrv — SDNN and RMSSD kept apart (#1110)", () => { it("charts each measure on its own when both have readings", () => {