PLAY PODCASTS
Asserting props.onClick in react-testing-library
Season 2 · Episode 23

Asserting props.onClick in react-testing-library

Aakash Sardana asked this on 2022-07-23

The Call Kent Podcast

July 25, 20225m 36s

Audio is streamed directly from the publisher (media.transistor.fm) as published in their RSS feed. Play Podcasts does not host this file. Rights-holders can request removal through the copyright & takedown page.

Show Notes

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

Asserting props.onClick in react-testing-library

Topics

react-testing-librarytesting