Skip to content

Commit

Permalink
Fixed coverage generation.
Browse files Browse the repository at this point in the history
  • Loading branch information
rauchg committed Mar 3, 2012
1 parent 1a48492 commit 2aaee23
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ test:
$(TESTS)

test-cov: lib-cov
COV=1 $(MAKE) test REPORTER=html-cov > coverage.html
EIO_COV=1 $(MAKE) test REPORTER=html-cov > coverage.html

lib-cov:
jscoverage lib lib-cov
jscoverage --no-highlight lib lib-cov

bench:
@node $(PROFILEFLAGS) bench/runner.js $(BENCHMARKS)
Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@

module.exports = process.env.COV
module.exports = process.env.EIO_COV
? require('./lib-cov/engine.io')
: require('./lib/engine.io');

0 comments on commit 2aaee23

Please sign in to comment.