diff --git a/packages/sn-pickers-react/tests/picker.test.tsx b/packages/sn-pickers-react/tests/picker.test.tsx index 7c5453a10..2fff0c67d 100644 --- a/packages/sn-pickers-react/tests/picker.test.tsx +++ b/packages/sn-pickers-react/tests/picker.test.tsx @@ -186,7 +186,7 @@ describe('Picker component', () => { }) await act(async () => wrapper.update().find(ListItem).at(0).simulate('click')) - expect(setDestination).toHaveBeenCalledTimes(1) + expect(setDestination).toBeCalledWith(genericContentItems[0].DisplayName) })