Make `npm test` work with io.js

master
Adam L 2015-02-05 13:07:47 +08:00
parent a6efc790a4
commit e7f7db9abb
1 changed files with 3 additions and 3 deletions

View File

@ -11,12 +11,12 @@ TESTS = test/application \
test:
@NODE_ENV=test ./node_modules/.bin/mocha \
--require should \
--harmony-generators \
--harmony \
$(TESTS) \
--bail
test-cov:
@NODE_ENV=test node --harmony-generators \
@NODE_ENV=test node --harmony \
node_modules/.bin/istanbul cover \
./node_modules/.bin/_mocha \
-- -u exports \
@ -25,7 +25,7 @@ test-cov:
--bail
test-travis:
@NODE_ENV=test node --harmony-generators \
@NODE_ENV=test node --harmony \
node_modules/.bin/istanbul cover \
./node_modules/.bin/_mocha \
--report lcovonly \