userEvent.setup vs not including it in unit tests - podcast episode cover

userEvent.setup vs not including it in unit tests

Jun 08, 20235 minSeason 3Ep. 49
--:--
--:--
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

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

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