a piccolo command to run mocha with the coffescript compiler.
npm install caffemochaJust a shorthand of ``mocha --compilers coffee:coffee-script/register`.
* mocha
* coffe-script
and you're sure you can run
``
$ mocha --compilers coffee:coffee-script/register
successfully.
``
$ npm install caffemocha
$ (do some PATH fiddling. My preference is direnv.)
$ cat .envrc
export PATH=$(npm bin):$PATH
or
``
$ npm install -g caffemocha
or
``
$ sudo npm install -g caffemocha
```
$ caffemocha
$ caffemocha test/unit/my.coffe
$ caffemocha test/*/.coffee