Makefile 581 B

1234567891011121314151617181920212223242526272829
  1. include node_modules/make-lint/index.mk
  2. test:
  3. @NODE_ENV=test ./node_modules/.bin/mocha \
  4. --require should \
  5. --harmony \
  6. --harmony-async-await \
  7. test/*.js \
  8. --bail
  9. test-cov:
  10. @NODE_ENV=test node --harmony \
  11. --harmony-async-await \
  12. ./node_modules/.bin/istanbul cover \
  13. ./node_modules/.bin/_mocha \
  14. -- -u exports \
  15. --require should \
  16. test/*.js \
  17. --bail
  18. test-travis:
  19. node --harmony \
  20. --harmony-async-await \
  21. ./node_modules/.bin/istanbul cover \
  22. ./node_modules/.bin/_mocha --report lcovonly \
  23. -- -R dot test/*.js
  24. .PHONY: test test-cov test-travis