Have you been using Typescript in your React project lately ? Jest and React Testing Library are your go to tool for writing tests ? And you are having issues trying to test an async method that fetches data from an api using axois ?
Then my friend, you are in right place. I hope this will solve the problem you are facing and you can get that break you’ve been meaning to take.
Let’s get started 👨🏻💻
We’re going to write a method that uses Axios to make an HTTP Get request from…
Software Engineer | Musician | Illustrator