Should we assert on props.onClick while writing test cases in react-testing-library?
Asserting props.onClick in react-testing-library