12 lines
		
	
	
	
		
			208 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
	
		
			208 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
ALL_TESTS = $(shell find test/ -name '*.test.js')
 | 
						|
 | 
						|
run-tests:
 | 
						|
	@./node_modules/.bin/mocha \
 | 
						|
		-t 2000 \
 | 
						|
		$(TESTFLAGS) \
 | 
						|
		$(TESTS)
 | 
						|
 | 
						|
test:
 | 
						|
	@$(MAKE) NODE_PATH=lib TESTS="$(ALL_TESTS)" run-tests
 | 
						|
 | 
						|
.PHONY: test
 |