mirror of
https://github.com/cnodejs/nodeclub.git
synced 2025-12-08 19:55:55 +00:00
fix test
This commit is contained in:
parent
4272b82a6f
commit
9904853d3f
4
Makefile
4
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 \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user