7 days of WordPress plugins, themes & templates - for free!* Unlimited asset downloads! Start 7-Day Free Trial

Next lesson playing in 5 seconds

Cancel
  • Overview
  • Transcript

2.2 Write a Test

Let's write our first test! In this lesson, we're going to write a simple test for our `` component. This is the most basic kind of test for a component—which means it's a great place to get started!

1.Introduction
1 lesson, 00:52

1.1
Introduction
00:52

2.Unit Testing React Components
4 lessons, 24:36

2.1
Setup
05:07

2.2
Write a Test
05:34

2.3
Shallow vs. Static Testing
08:23

2.4
Full DOM Rendering Tests
05:32

3.Conclusion
1 lesson, 00:29

3.1
Conclusion
00:29