Coder Social home page Coder Social logo

parkergits / test-react-components-with-enzyme-and-jest Goto Github PK

View Code? Open in Web Editor NEW

This project forked from eggheadio-projects/test-react-components-with-enzyme-and-jest

0.0 1.0 0.0 54 KB

Course notes for Tyler Clark's Test React Components with Enzyme and Jest on egghead.io

Home Page: https://egghead.io/courses/test-react-components-with-enzyme-and-jest

test-react-components-with-enzyme-and-jest's Introduction

Instructor - Tyler Clark

About

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

In this course, we will 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 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.

Table of Contents

test-react-components-with-enzyme-and-jest's People

Contributors

parkergits avatar laurosilvacom avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.