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