Makefile 374 B

12345678910111213141516171819
  1. MOCHA_OPTS= --check-leaks
  2. REPORTER = dot
  3. test: test-unit test-integration
  4. test-integration:
  5. @NODE_ENV=test node test/integration/runner.js
  6. test-load:
  7. @NODE_ENV=test ./node_modules/.bin/mocha \
  8. --reporter $(REPORTER) \
  9. $(MOCHA_OPTS) \
  10. test/load/**
  11. test-unit:
  12. @NODE_ENV=test ./node_modules/.bin/mocha \
  13. --reporter $(REPORTER) \
  14. $(MOCHA_OPTS) \
  15. test/unit/**