Chapter 7: Introducing Testing to Rematch
In this chapter, we'll learn how to correctly test a real application using the best practices and the latest technologies out there. We'll learn about the differences between different types of testing and how our application can be easily refactored if our testing suite covers enough code to give us the confidence to move pieces of code without breaking the functionality.
This chapter is important to understanding testing concepts and the different libraries for testing. Also, it's important for understanding how Rematch models can be tested and learning about different concepts such as rootReducers
that haven't been covered yet.
In this chapter, we'll cover the following topics:
- Introduction to JavaScript testing
- Preparing the environment
- Creating tests for Rematch models
- Creating tests for React components
By the end of the chapter, you will have learned what types of JavaScript...