Open kadamwhite opened 9 years ago
Example "coverage" task definitions:
"coverage"
"test": "npm run lint && npm run test-prep && istanbul --config=test/.istanbul.yml cover _mocha -- -b -R spec test/index.js"
istanbul cover node_modules/.bin/_mocha -- --reporter $(REPORTER)
"coverage": "istanbul -- cover ./node_modules/.bin/nodeunit tests/unit",
Example
"coverage"
task definitions:"test": "npm run lint && npm run test-prep && istanbul --config=test/.istanbul.yml cover _mocha -- -b -R spec test/index.js"
istanbul cover node_modules/.bin/_mocha -- --reporter $(REPORTER)
cheerio"coverage": "istanbul -- cover ./node_modules/.bin/nodeunit tests/unit",
jshint