Run Yes, this can probably be simplified further but I think this should be enough to get an idea of what the problem. # npm install -g mocha $ npm install $ mocha test.js