Testing React with Enzyme and Jest.

A video series to enable you to test React components thoroughly, refactor with confidence and abstract logic out of components.

Watch the first 5 videos for free, and pay just $20 for the rest.

Watch now >> Buy the full bundle >>

Is this course for me?

If you're writing React in any capacity, this course if for you! This course assumes a base level understanding of React, but whether you're working on small React side projects or full React applications at the day job, you'll learn how to test a variety of React components.

No prior knowledge of testing or React specific testing is required; we'll start from scratch and build up our testing knowledge over this set of ten videos.

Along with how-tos we'll also talk about characteristics of well written tests and how to avoid common pitfalls when writing tests.

What will I learn?

See below for a full list of topics covered in the videos of this course, but in a nutshell this course contains all you need to be confident testing a variety of React components. We'll cover:

  • The roles that Jest and Enzyme play in writing React tests.
  • How to test for UI changes in React components using Jest snapshots.
  • Testing React components that make HTTP requests by mocking HTTP requests.
  • Using Jest spies to mock behaviour in React components for testing purposes.
  • Testing React components that are connected to Redux, including how to test dispatching actions.
  • Using Enzyme's mount API to test lifecycle methods like componentDidMount and componentDidUpdate.

Who is this course by?

Headshot of Jack Franklin

Jack is JavaScript and React developer in London who has been working with and testing React applications for the past three years.

He's released numerous tutorials and videos on The JavaScript Playground and his YouTube channel.

He's also spoken about React testing at conferences including React Amsterdam.

Buy the Testing React bundle now and get:

Buy now with Paddle for $20 >>

Frequently Asked Questions

Subscribe to keep up to date with the latest content.

Join the JS Playground mailing list to be kept up to date with the latest tutorials, screencasts and video courses. You won't be spammed and you can unsubscribe at any time.


All courses are sold and fulfilled by Paddle - an authorized reseller. Our order process is conducted by our online reseller Paddle.com. Paddle.com is the Merchant of Record for all our orders. Paddle provides all customer service inquiries and handles returns.