Let's start writing the tests for the application we built for the backend part of the node server.
We will be using the following folder structure:
There are two folders inside the test folder. One for unit testing, called unit, and another for end-to-end testing, called e2e. We will start by writing the unit tests, which go under the unit directory. The naming convention is appending the .spec part to the filename for every file we will be writing tests for.