React Testing Library - Testing a mock Axios request

Published: 13 February 2019
on channel: Leigh Halliday
47,474
709

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...


Watch video React Testing Library - Testing a mock Axios request online without registration, duration hours minute second in high quality. This video was added by user Leigh Halliday 13 February 2019, don't forget to share it with your friends and acquaintances, it has been viewed on our site 47,474 once and liked it 709 people.