diff --git a/Makefile b/Makefile index 5368059..808e799 100644 --- a/Makefile +++ b/Makefile @@ -14,13 +14,13 @@ pretest: cp config.default.js config.js; \ fi -test: install +test: install pretest @NODE_ENV=test ./node_modules/mocha/bin/mocha \ --reporter $(MOCHA_REPORTER) \ --timeout $(TEST_TIMEOUT) \ $(TESTS) -test-cov cov: install +test-cov cov: install pretest @NODE_ENV=test node \ node_modules/.bin/istanbul cover --preserve-comments \ ./node_modules/.bin/_mocha \