loading...

re: Axios Mocking in React using Typescript and testing-library VIEW POST

FULL DISCUSSION
 

Great article thank you for showing this. just a note.

I think you've an error when you call the useFetch hook because you're passing the url first but you're expecting the run argument as the first one.

 

Thanks. It's my first article I've ever written.

Yup, good catch. Fixed it.

Code of Conduct Report abuse