Skip to content
This repository
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

file 15 lines (11 sloc) 0.338 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
REPORTER = spec

test:
@NODE_ENV=test ./node_modules/.bin/mocha test/*-test.js test/*/*-test.js $(OPT) --reporter $(REPORTER)

test-bail:
@rm -rf lib-cov
@jscoverage lib lib-cov
$(MAKE) test OPT=--bail

test-cov:
@APISERVER_COV=1 $(MAKE) test REPORTER=html-cov > coverage.html
@open -g coverage.html

.PHONY: test test-bail test-cov
Something went wrong with that request. Please try again.