PLAY PODCASTS
userEvent.setup vs not including it in unit tests
Season 3 · Episode 49

userEvent.setup vs not including it in unit tests

Daniel asked this on 2023-05-24

The Call Kent Podcast

June 8, 20234m 41s

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

With React Testing Library v14, what are the benefits of using the userEvent.setup() for every test vs not including it?

userEvent.setup vs not including it in unit tests

Topics

userEventuserEvent.setupunit tests