Remove jscoverage

This commit is contained in:
Veselin Todorov 2014-01-26 08:38:49 +02:00
parent e8eae4c007
commit 764d00e73c
3 changed files with 2 additions and 13 deletions

View file

@ -45,7 +45,7 @@ test-node: node_modules
--reporter $(REPORTER) \
$(TESTS)
test-cov: lib-cov
test-cov:
@CHAI_COV=1 NODE_ENV=test ./node_modules/.bin/mocha \
--require ./test/bootstrap \
--reporter html-cov \
@ -67,14 +67,6 @@ test-travisci: lib-cov
@make test-node
@make test-sauce
#
# Coverage
#
lib-cov:
@rm -rf lib-cov
@./node_modules/jscoverage/bin/jscoverage lib lib-cov
#
# Clean up
#

View file

@ -32,7 +32,6 @@
},
"devDependencies": {
"component": "*"
, "jscoverage": "0.3.7"
, "karma": "canary"
, "karma-mocha": "*"
, "karma-sauce-launcher": "git://github.com/embarkmobile/karma-sauce-launcher.git#feature-passfail"

View file

@ -2,9 +2,7 @@
* Attach chai to global
*/
global.chai = (process && process.env && process.env.CHAI_COV)
? require('../../lib-cov/chai')
: require('../..');
global.chai = require('../..');
/*!
* Provide check for fail function.