Here lies the source code of the examples shown in "Test-driven Development of Web Apps in Node.js".
After you clone this Git repository, cd
into it, then...
...pull in the dependencies:
$ npm install
...and try to run the test suite (using the locally-installed Mocha):
$ node_modules/.bin/mocha -R spec