Question 4 of 10Pro Only
What is React Testing Library and how does it differ from other tools like Enzyme? How do you select elements in your tests?
Sample answer preview
React Testing Library is a testing library for React that encourages best practices by testing components the way users use them, rather than testing implementation details.
React Testing LibrarygetByRolegetByTextscreenqueriesaccessibility