Skip to content

Commit

Permalink
test: fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
rpenido committed Oct 23, 2024
1 parent 864f540 commit 12f9fe6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const mockAddComponentsToCollection = jest.fn();

jest.mock('../data/api', () => ({
...jest.requireActual('../data/api'),
addComponentsToCollection: mockAddComponentsToCollection,
addComponentsToCollection: () => mockAddComponentsToCollection(),
}));

const render = () => baseRender(<PickLibraryContentModal isOpen onClose={onClose} />, {
Expand Down

0 comments on commit 12f9fe6

Please sign in to comment.