A review of the three query types in React Testing Library and when to use each one.
Query Vs. Find Vs. Get in React Testing Library
READ MORE
A review of the three query types in React Testing Library and when to use each one.
How to use React Router's history listener in a useEffect hook to clear a flash message.
React Testing Library runs a cleanup function after every test while Enzyme does not, and that means that some (uncommon) testing patterns that work in Enzyme won't work in React Testing Library.