node-registry
Version:
Node.js Module Registry and loader
17 lines (13 loc) • 531 B
Plain Text
export NODE_REGISTRY_CONFIG=test/configuration
test:
@NODE_ENV=test ./node_modules/.bin/mocha -R spec -r chai --recursive
test-cov:
@NODE_ENV=test ./node_modules/.bin/istanbul cover \
./node_modules/mocha/bin/_mocha -- -R spec && rm -rf coverage
test-coveralls:
echo TRAVIS_JOB_ID $(TRAVIS_JOB_ID)
$(MAKE) test
@NODE_ENV=test ./node_modules/.bin/istanbul cover \
./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec && \
cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js || true
.PHONY: test