Skip to content
Myr

Makefile

This file

Path

Makefile

33 lines · 558 bytes

Last changed by

add --check-leaks for mochaTJ Holowaychukbefore adoptionc52d9cd

History of this file

Take it

12MOCHA_OPTS= --check-leaks3REPORTER = dot45check: test67test: test-unit test-acceptance89test-unit:10	@NODE_ENV=test ./node_modules/.bin/mocha \11		--reporter $(REPORTER) \12		$(MOCHA_OPTS)1314test-acceptance:15	@NODE_ENV=test ./node_modules/.bin/mocha \16		--reporter $(REPORTER) \17		--bail \18		test/acceptance/*.js1920test-cov: lib-cov21	@EXPRESS_COV=1 $(MAKE) test REPORTER=html-cov > coverage.html2223lib-cov:24	@jscoverage lib lib-cov2526benchmark:27	@./support/bench2829clean:30	rm -f coverage.html31	rm -fr lib-cov3233.PHONY: test test-unit test-acceptance benchmark clean