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 7, 2014
1 parent 081ccd6 commit de0487c
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 @@ -20,6 +20,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 de0487c

Please sign in to comment.