Skip to content

Commit

Permalink
fix(test): Add missing setHeadData and resetHeadData mock functions t…
Browse files Browse the repository at this point in the history
…o Experiment component test
  • Loading branch information
drikusroor committed May 3, 2024
1 parent 7382e66 commit f971f55
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions frontend/src/components/Experiment/Experiment.test.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit f971f55

Please sign in to comment.