Chapter 9. Testing React components
This chapter covers
- Testing front-end applications
- Setting up testing for React
- Testing React components
- Setting up test coverage
In the last chapter, you added some significant functionality to your application. It now has routing and user state, and you’ve broken it up into smaller pieces. You even added some basic authentication so users could log in using their GitHub profile. Your application is starting to look more robust, even if it’s probably not going to worry anyone at Facebook or Twitter. You can do lots more with React than you could when we first started. But as we’ve focused on learning the basics, we’ve omitted an important part of the development process: testing.
I didn’t cover testing ...
Get React in Action now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.