Skip to content
This repository has been archived by the owner on Jun 2, 2024. It is now read-only.

Commit

Permalink
add make test-dev, fixed #259
Browse files Browse the repository at this point in the history
  • Loading branch information
dead-horse committed Mar 6, 2014
1 parent 611321e commit bc4fcf1
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,15 @@ test:
$(TESTS)
@-$(MAKE) check-coverage

test-dev: install
@NODE_ENV=test ./node_modules/mocha/bin/mocha \
--harmony-generators \
--reporter $(REPORTER) \
--timeout $(TIMEOUT) \
--require should \
$(MOCHA_OPTS) \
$(TESTS)

check-coverage:
@./node_modules/.bin/istanbul check-coverage \
--statements 100 \
Expand Down

0 comments on commit bc4fcf1

Please sign in to comment.