Closed vvidday closed 2 years ago
Commit 9b0f812da1ed297de6a85f9c02abba9bcdf8663b
App
component
react-testing-library
, it is meant to simulate user experience instead of testing individual components. Hence, we render the main App
component and test based on that, instead of testing components like nav
in isolation.
Test using react-testing-library and Jest.