Testing Asynchronous Components with Mocks in Jest
Автор: Leigh Halliday
Загружено: 2018-04-06
Просмотров: 36176
In this video we'll cover how to test React components that contain asynchronous code using mocks in Jest. We'll refactor our component to make it more easily testable and mockable, allowing the test to run without making an actual AJAX request.
The full article + source code can be found at: https://www.leighhalliday.com/testing...
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: