As a frontend newbie, it took me plenty of time trying to understand how to test my React app, especially for testing the function component with hooks. In this tutorial, I’m gonna illustrate some basic methods on testing function component As a frontend new