Skip to content

Commit

Permalink
build: test coverage with istanbul
Browse files Browse the repository at this point in the history
  • Loading branch information
dougwilson committed May 18, 2014
1 parent 0f49d80 commit 12da523
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 41 deletions.
5 changes: 1 addition & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
coverage.html
coverage/
.DS_Store
lib-cov
*.seed
*.log
*.csv
Expand All @@ -13,7 +12,5 @@ benchmarks/graphs
testing
node_modules/
testing
.coverage_data
cover_html
test.js
.idea
3 changes: 1 addition & 2 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
.git*
benchmarks/
coverage/
docs/
examples/
support/
test/
testing.js
.DS_Store
.travis.yml
coverage.html
lib-cov
34 changes: 0 additions & 34 deletions Makefile

This file was deleted.

4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@
},
"devDependencies": {
"ejs": "~0.8.4",
"istanbul": "0.2.10",
"mocha": "~1.18.2",
"jade": "~0.30.0",
"hjs": "~0.0.6",
Expand All @@ -82,6 +83,7 @@
"scripts": {
"prepublish": "npm prune",
"test": "mocha --require test/support/env --reporter dot --check-leaks test/ test/acceptance/",
"test-travis": "mocha --require test/support/env --reporter spec --check-leaks test/ test/acceptance/"
"test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --require test/support/env --reporter dot --check-leaks test/ test/acceptance/",
"test-travis": "istanbul cover node_modules/mocha/bin/_mocha -- --require test/support/env --reporter spec --check-leaks test/ test/acceptance/"
}
}

0 comments on commit 12da523

Please sign in to comment.