In this chapter, we'll continue our journey of testing the Node applications. In the previous chapter, we looked at the basic testing framework and worked on synchronous as well as asynchronous Node application. In this chapter we'll move on to testing the Express applications, then we'll look into a method to organize our test better in the result output, and last but not least we'll get into some advanced methods of testing Node application.
Specifically, we'll look into the following topics:
- Setting up testing for Express app
- Testing Express application
- Organizing test with describe()
- Test spies