Summary
Now you know how to create the React components and unit test them.
In this chapter, you learned the essentials of Jest; the unit testing framework from Facebook that works well with React. We discussed the test suits, specs, expectations, and matchers. We created mocks and simulated click events.
In the next chapter, we'll learn the essentials of the Flux architecture, and how to improve the maintainability of our React application.