How to mock e.preventDefault in react component’s child April 22, 2023 by Tarik Try this link.simulate('click', { preventDefault: () => { } });