Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 8642bebec9
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

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

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

test-bail:
$(MAKE) test OPT=--bail

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

lib-cov:
@rm -rf lib-cov
@jscoverage lib lib-cov

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