caffemocha
v0.1.3
Published
a piccolo command to run mocha with the coffescript compiler.
Readme
caffemocha
Just a shorthand of mocha --compilers coffee:coffee-script/register.
Prerequisites
- mocha
- coffe-script
and you're sure you can run
$ mocha --compilers coffee:coffee-script/registersuccessfully.
Install
$ npm install caffemocha
$ (do some PATH fiddling. My preference is direnv.)
$ cat .envrc
export PATH=$(npm bin):$PATHor
$ npm install -g caffemochaor
$ sudo npm install -g caffemochaRun
$ caffemocha
$ caffemocha test/unit/my.coffe
$ caffemocha test/**/*.coffee