Skip to content

Latest commit

 

History

History

test-react-components-with-enzyme-and-jest

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

All Contributors

Instructor - Tyler Clark

About

These notes go along with the Test React Components with Enzyme and Jest course from Tyler Clark

In this course, construct tests for our React components with Enzyme and Jest.

Throughout this course, you will learn about

  • Create React App setup
  • Enzyme initial setup
  • Enzyme configuration for specific versions of React
  • Accepted selectors
  • Rendering methods
  • Working with React lifecycles
  • Component state
  • Component props
  • Working with Redux-connected components
  • Using Jest snapshots to
    • Guarantee the layout of component elements
    • Replicate user interaction
    • Test class methods

In the final lesson, we will recap these concepts through the testing of both a basic React form that sends an AJAX request on submit.

The code for each lesson in this course can be found here. Each branch contains code for its respective lesson. THERE IS NO BRANCH FOR LESSON 1, SO THE BRANCH NUMBERS 1-14 CORRESPOND WITH LESSON NUMBERS 2-15. Code for each lesson can also be found in the Resources section of each page of notes.

Notes - Table of Contents

Contributors ✨

Thanks goes to these wonderful people (emoji key):


Parker Landon

🖋

This project follows the all-contributors specification. Contributions of any kind welcome!