Skip to content

I'm a professional React developer, and this is how I test React components using Enzyme and Jest.

github logo ・1 min read  

About Me: I've been a professional web developer for just over 10 years now. I'm currently the lead web development instructor at Better Coding Academy, and as part of what I do, I post videos on our YouTube channel at

(Subscribe for awesome web development content!)

In the following video, I cover how to get started with testing React components using Enzyme and Jest. I explain how to use different testing methods (e.g. mocking, snapshots, etc.), and my reasoning behind it all. I hope you enjoy!

Full source code:

Happy coding!

twitter logo DISCUSS (2)
markdown guide

Your videos are fabulous, but you have to play them with a low speed like 0.75x, because you go too fast! 😁


Apologies... but hey, at least that setting exists, right??? πŸ˜‚

Classic DEV Post from Feb 6 '19

Building Chatt - A Real-time Multi-user GraphQL Chat App

A look at how to build a real-time chat application using React, GraphQL & AWS AppSync

Lucas Chen profile image
I turn people into web developers @Better Coding Academy. Our graduates get salaries ranging from $80k-$120k AUD. You can find me on Stack Overflow and YouTube. Let me know if you're keen to talk.