Asserting props.onClick in react-testing-library - podcast episode cover

Asserting props.onClick in react-testing-library

Jul 25, 20226 minSeason 2Ep. 23
--:--
--:--
Download Metacast podcast app
Listen to this episode in Metacast mobile app
Don't just listen to podcasts. Learn from them with transcripts, summaries, and chapters for every episode. Skim, search, and bookmark insights. Learn more

Episode description

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

Asserting props.onClick in react-testing-library

For the best experience, listen in Metacast app for iOS or Android