This commit is contained in:
root
2019-11-28 20:40:02 +00:00
commit 1c78566f5b
2275 changed files with 272351 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
test:
@NODE_ENV=test ./node_modules/.bin/mocha $(T) $(TESTS)
test-cov:
@NODE_ENV=test node \
node_modules/.bin/istanbul cover \
./node_modules/.bin/_mocha \
-- -u exports \
open-cov:
open coverage/lcov-report/index.html
test-travis:
@NODE_ENV=test node \
node_modules/.bin/istanbul cover \
./node_modules/.bin/_mocha \
--report lcovonly \
-- -u exports \
--bail
.PHONY: test test-cov open-cov test-travis