Testing of a Custom React Hook for Fetching Data with Axios
My turn on how to test custom React hooks. The article presents a simple useFetch (GET requests with axios) hook and explains piece by piece how to test it.
Tags: react, hooks, jest, axios