Summary
In this chapter, we learned how to test our application, thus making it ready for production.
We started by learning about unit testing by implementing unit tests for our notifications store.
Since integration tests are much more valuable because they give more confidence that something is working properly, we used these tests to test the pages.
Finally, we created end-to-end tests for public and dashboard flows, where we tested the entire functionality of each flow.
In the next chapter, we will learn how to prepare and release our application to production. We will use these tests and integrate them within our CI/CD pipeline, where we will not allow the application to be released to production if any of the tests fail. This will keep our users more satisfied as there is less chance of bugs ending up in production.