Testing an MEVN Application Chapter 9Let's now run the test with the following command:
$ mocha test/unit/controllers/movies.spec.jsThe preceding command should give us the following output:
Writing tests for Node.js server
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: