Skip to content

Commit

Permalink
test: fix jest tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ana-oprea committed Jan 16, 2024
1 parent 0178030 commit 246d7cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jest.setup.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ global.store = mockStore({
const mockSemanticComponents = jest.requireActual('semantic-ui-react');
const mockComponents = jest.requireActual('@plone/volto/components');

jest.mock('semantic-ui-react', () => ({
jest.doMock('semantic-ui-react', () => ({
...mockSemanticComponents,
Popup: ({ content, trigger }) => {
return (
Expand Down

0 comments on commit 246d7cc

Please sign in to comment.