In this video we look at how to test a component with react testing library which contains an asynchronous Axios request that we'll mock out using Jest mocks.
More examples and a link to the source code can be found here:
https://www.leighhalliday.com/async-a...