The Call Kent Podcast
The Call Kent Podcast
Kent C. Dodds
Difference in methods emanating from screen and render
4 minutes Posted Sep 3, 2021 at 5:40 pm.
0:00
4:38
Download MP3
Show notes

What’s the difference between `screen.getByText` and `const { getByText } = render()`
More generically - what’s the difference between methods originating from these different objects

Common mistakes with React Testing Library - Not Using Screen