Skip to content

Commit

Permalink
fixed file select test case with onSelectFile support
Browse files Browse the repository at this point in the history
  • Loading branch information
sumn2u committed Jun 22, 2024
1 parent 4b317e4 commit 5186961
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion client/src/FilesListMenu/FilesListMenu.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -795,13 +795,14 @@ describe('FilesListMenu', () => {
const onSelectJumpMock = jest.fn();
const saveActiveImageMock = jest.fn();
const onClickMock = jest.fn();

const onSelectFileMock = jest.fn();
const { getByText, getAllByTestId } = render(
<FilesListMenu
state={state}
selectedImage={'image1'}
allImages={mockAllImages}
onSelectJump={onSelectJumpMock}
onSelectFile={onSelectFileMock}
saveActiveImage={saveActiveImageMock}
onClick={onClickMock}
/>
Expand Down

0 comments on commit 5186961

Please sign in to comment.