Testing CofeeScript with Mocha
May 01, 2012
library that is great. It used to just run CoffeeScript out of the box,
but recently they factored support out, probably to support all kinds of
mocha test/foo.coffee no longer works.
To get mocha to run test written in CoffeeScript, run the following:
mocha test/foo.coffee --compliers coffee:coffee-script
Notes to my future self who keeps forgetting this.