Setting up the test files

In Atom, inside my package.json file, I now have my devDependencies listed out:

Now, my output for this command might look a little different than yours. npm is caching some of my modules that I've installed recently, so as you can see in the preceding screenshot, it's just grabbing the local copy. They did indeed get installed though, and I can prove that by opening up the node_modules folder.

We're now going to create a folder inside the server where we can store all of our test files, and this folder is going to be called tests. The only file we're going to worry about creating for this section is a test file for ...

Get Advanced Node.js Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.