Setting up Mocha
It's great that we can use Postman and Compass to test our API manually, but as we add more complex endpoints, it'd be much easier to test them automatically.
To install it, let's run the following:
$ npm i -D mocha@5
Click to load comments...