Merge pull request #409 from adamme/master
Make `npm test` work with io.js
This commit is contained in:
commit
a9e6d2ccb4
1 changed files with 3 additions and 3 deletions
6
Makefile
6
Makefile
|
@ -11,12 +11,12 @@ TESTS = test/application \
|
||||||
test:
|
test:
|
||||||
@NODE_ENV=test ./node_modules/.bin/mocha \
|
@NODE_ENV=test ./node_modules/.bin/mocha \
|
||||||
--require should \
|
--require should \
|
||||||
--harmony-generators \
|
--harmony \
|
||||||
$(TESTS) \
|
$(TESTS) \
|
||||||
--bail
|
--bail
|
||||||
|
|
||||||
test-cov:
|
test-cov:
|
||||||
@NODE_ENV=test node --harmony-generators \
|
@NODE_ENV=test node --harmony \
|
||||||
node_modules/.bin/istanbul cover \
|
node_modules/.bin/istanbul cover \
|
||||||
./node_modules/.bin/_mocha \
|
./node_modules/.bin/_mocha \
|
||||||
-- -u exports \
|
-- -u exports \
|
||||||
|
@ -25,7 +25,7 @@ test-cov:
|
||||||
--bail
|
--bail
|
||||||
|
|
||||||
test-travis:
|
test-travis:
|
||||||
@NODE_ENV=test node --harmony-generators \
|
@NODE_ENV=test node --harmony \
|
||||||
node_modules/.bin/istanbul cover \
|
node_modules/.bin/istanbul cover \
|
||||||
./node_modules/.bin/_mocha \
|
./node_modules/.bin/_mocha \
|
||||||
--report lcovonly \
|
--report lcovonly \
|
||||||
|
|
Loading…
Reference in a new issue