This project shows a basic example of a node project that uses requirejs, mocha, squirejs.
In order to run tests you should first install mocha and the dependencies using npm install as follows:
npm install
npm install -g mocha
Then run the tests using mocha
mocha
Thanks to Louis http://stackoverflow.com/users/1906307/louis See also http://stackoverflow.com/questions/23361700/using-requirejs-with-mocha-and-squirejs-on-node/23362495