Testing React.js Applications with Jest

Using Jest Mocks

Your browser needs to be JavaScript capable to view this video

Try reloading this page, or reviewing your browser settings

This video segment introduces mocks, when you should use mocks, using just mocks and testing the handleLogin method using mocks.

Keywords

  • React
  • Jest
  • Testing
  • Mocks

About this video

Author(s)
Gigi Sayfan
First online
22 May 2019
DOI
https://doi.org/10.1007/978-1-4842-3980-3_4
Online ISBN
978-1-4842-3980-3
Publisher
Apress
Copyright information
© Gigi Sayfan 2019