Using mocha to test front side js with grunt js in browser or PhantomJs