An example using mocha in combination with RequireJS and Grunt.js (alongside chai and sinon).