Skip to content
Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
24 lines (15 sloc) 608 Bytes
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
You can’t perform that action at this time.