Let’s create a simple render method to be able to reuse this functionality for our other tests. The render method we’ve created is similar to the render method that’s provided by React Testing Library. Let’s swap our implementation to that!
Let’s create a simple render method to be able to reuse this functionality for our other tests. The render method we’ve created is similar to the render method that’s provided by React Testing Library. Let’s swap our implementation to that!