Skip to content
Permalink
master
Switch branches/tags
Go to file
 
 
Cannot retrieve contributors at this time
MOCHA_PATH=node_modules/mocha/bin/mocha
test:
NODE_ENV=test $(MOCHA_PATH) -w --reporter spec
test-debug:
NODE_ENV=test $(MOCHA_PATH) -w --reporter spec debug
test-once:
NODE_ENV=test $(MOCHA_PATH) --reporter spec --timeout 8000 -b
test-coverage:
NODE_ENV=test AGENDA_COVERAGE=1 $(MOCHA_PATH) test --require blanket --reporter html-cov > coverage.html
test-coveralls:
NODE_ENV=test AGENDA_COVERAGE=1 $(MOCHA_PATH) test --require blanket --reporter mocha-lcov-reporter | ./node_modules/coveralls/bin/coveralls.js
install:
@npm i
build: install test-once
.PHONY: test test-coverage test-coveralls