Yeah it works, I use it like so in every mocha (including with travis ci) and i don't have global mocha