Permalink
Browse files

Cakefile: use locally installed mocha for tests

  • Loading branch information...
1 parent 33b220b commit 76b7298afaeca2a28e29ee96526f5c170b9aecf4 @andreypopp andreypopp committed Jul 5, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 Cakefile
View
@@ -18,7 +18,7 @@ task 'build', 'Compile CoffeeScript to JavaScript.', ->
module.exports.passthru 'coffee', '-o', 'lib/', '-c', 'src/'
task 'test', 'Run the unit tests.', ->
- module.exports.passthru 'mocha' # or your test runner
+ module.exports.passthru './node_modules/.bin/mocha' # or your test runner
# exec 'mv NPM-index.js index.js; npm publish; mv index.js NPM-index.js'
task 'publish', 'Publish the NPM module.', ->

0 comments on commit 76b7298

Please sign in to comment.