From f971f55bc7a53683655df6fcba12bd18a89a7cad Mon Sep 17 00:00:00 2001 From: Drikus Roor Date: Fri, 3 May 2024 10:10:34 +0200 Subject: [PATCH] fix(test): Add missing setHeadData and resetHeadData mock functions to Experiment component test --- frontend/src/components/Experiment/Experiment.test.jsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/frontend/src/components/Experiment/Experiment.test.jsx b/frontend/src/components/Experiment/Experiment.test.jsx index eddc62c77..881f35f12 100644 --- a/frontend/src/components/Experiment/Experiment.test.jsx +++ b/frontend/src/components/Experiment/Experiment.test.jsx @@ -26,6 +26,8 @@ vi.mock('../../util/stores', () => ({ session: 1, participant: 'participant-id', setSession: vi.fn(), + setHeadData: vi.fn(), + resetHeadData: vi.fn(), }; return fn(state);