Testing components with async state was always tricky. Fortunately @testing-library/react-testing-library
solves this problem for us. It allows us to wait for some element to be rendered.
In this post I will present you a quick guide how to test React components which use Apollo.
#testing #react