Install jasmine and coffee-script:
npm install jasmine coffee-script --save-devInitialize jasmine:
./node_modules/.bin/jasmine initInstruct jasmine to use coffee-script files. Edit spec/support/jasmine.json spec_files config option:
{
"spec_files": ["**/*[sS]pec.coffee"]
}Add test script to package.json:
{
"scripts": {
"test": "node --require coffee-script/register ./node_modules/.bin/jasmine"
}
}