File tree Expand file tree Collapse file tree 4 files changed +59
-9
lines changed
Expand file tree Collapse file tree 4 files changed +59
-9
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ lib-cov
1414npm-debug.log
1515node_modules
1616coverage.html
17+ coverage
1718
1819# config
1920config /* .yaml
Original file line number Diff line number Diff line change 1+ verbose : false
2+ instrumentation :
3+ root : .
4+ default-excludes : true
5+ excludes : []
6+ embed-source : false
7+ variable : __coverage__
8+ compact : true
9+ preserve-comments : false
10+ complete-copy : false
11+ save-baseline : false
12+ baseline-file : ./coverage/coverage-baseline.json
13+ include-all-sources : false
14+ include-pid : false
15+ reporting :
16+ print : summary
17+ reports :
18+ - lcov
19+ dir : ./coverage
20+ watermarks :
21+ statements : [50, 80]
22+ lines : [50, 80]
23+ functions : [50, 80]
24+ branches : [50, 80]
25+ report-config :
26+ clover : {file: clover.xml}
27+ cobertura : {file: cobertura-coverage.xml}
28+ json : {file: coverage-final.json}
29+ json-summary : {file: coverage-summary.json}
30+ lcovonly : {file: lcov.info}
31+ teamcity : {file: null}
32+ text : {file: null, maxCols: 0}
33+ text-lcov : {file: lcov.info}
34+ text-summary : {file: null}
35+ hooks :
36+ hook-run-in-context : false
37+ post-require-hook : null
38+ handle-sigint : false
39+ check :
40+ global :
41+ statements : 85
42+ lines : 85
43+ branches : 61
44+ functions : 78
45+ excludes : []
46+ each :
47+ statements : 0
48+ lines : 0
49+ branches : 0
50+ functions : 0
51+ excludes : []
Original file line number Diff line number Diff line change @@ -5,5 +5,10 @@ machine:
55 version : iojs-v1.2.0
66dependencies :
77 pre :
8- - npm install pangyp -g
8+ - npm install -g istanbul
9+ - npm install -g pangyp
10+ test :
11+ post :
12+ - cp -r ./coverage/* $CIRCLE_ARTIFACTS
13+
914
Original file line number Diff line number Diff line change 44 "description" : " " ,
55 "main" : " index.js" ,
66 "scripts" : {
7- "test" : " ./node_modules/.bin/mocha test/index.js && ./node_modules/.bin/mocha -r blanket -R html-cov test/index.js > $CIRCLE_ARTIFACTS/coverage.html"
8- },
9- "config" : {
10- "blanket" : {
11- "pattern" : " ///[\\ w-]+\\ .js$/" ,
12- "data-cover-never" : " node_modules"
13- }
7+ "test" : " istanbul cover node_modules/.bin/_mocha -- -R spec"
148 },
159 "repository" : {
1610 "type" : " git" ,
3933 "winston" : " ^0.9"
4034 },
4135 "devDependencies" : {
42- "blanket" : " ^1.1.7" ,
4336 "chai" : " ^2.1" ,
4437 "mocha" : " ^2.2" ,
4538 "mock-fs" : " ^2.5.0" ,
You can’t perform that action at this time.
0 commit comments