Chapter 8. Testing with Server-Side JS
Until now, we have been learning about testing the frontend part of a system. We learned many tools that could test the functions needed to support frontend, feature detection, and so on. In this chapter, we will learn about server-side testing for which we will be using Node.js and Mocha.
We will be covering the following topics in this chapter:
- Setting up the environment
Setting up the environment