From e7f7db9abb44078fff54d84d7c1ea2aeab2769d9 Mon Sep 17 00:00:00 2001 From: Adam L Date: Thu, 5 Feb 2015 13:07:47 +0800 Subject: [PATCH] Make `npm test` work with io.js --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 07b105b..19755f9 100644 --- a/Makefile +++ b/Makefile @@ -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 \