January 2018
Beginner
658 pages
13h 10m
English
In this chapter, we looked into testing the Express applications as we did with the synchronous and async Node applications in the previous chapter. Then, we worked on organizing our tests with the describe() object so that we can see our different test methods right away.
In the last section we explored one more way we can test our Node applications, that is, spies. We created test files for spies, looked into the spy assertions and swapping of a function with spy.
Read now
Unlock full access