mirror of
https://github.com/chaijs/chai
synced 2024-11-15 00:07:11 +00:00
Remove jscoverage
This commit is contained in:
parent
e8eae4c007
commit
764d00e73c
3 changed files with 2 additions and 13 deletions
10
Makefile
10
Makefile
|
@ -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
|
||||
#
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue