File tree Expand file tree Collapse file tree 4 files changed +26
-1
lines changed Expand file tree Collapse file tree 4 files changed +26
-1
lines changed Original file line number Diff line number Diff line change @@ -5,3 +5,7 @@ node_modules
55npm-shrinkwrap.json
66package-lock.json
77yarn.lock
8+
9+ # Coverage
10+ coverage
11+ .nyc_output
Original file line number Diff line number Diff line change 1+ {
2+ "all" : true ,
3+ "check-coverage" : true ,
4+ "instrumentation" : false ,
5+ "sourceMap" : false ,
6+ "reporter" : " html" ,
7+ "lines" : 96 ,
8+ "statements" : 95 ,
9+ "functions" : 96 ,
10+ "branches" : 92 ,
11+ "exclude" : [
12+ " coverage" ,
13+ " example" ,
14+ " test" ,
15+ " test-core-js.js"
16+ ]
17+ }
Original file line number Diff line number Diff line change 2828matrix :
2929 fast_finish : true
3030 include :
31+ - node_js : " node"
32+ env : COVERAGE=true
3133 - node_js : " 8.5"
3234 env : TEST=true ALLOW_FAILURE=true
3335 - node_js : " 8.4"
Original file line number Diff line number Diff line change 55 "main" : " index.js" ,
66 "devDependencies" : {
77 "core-js" : " ^2.5.1" ,
8+ "nyc" : " ^10.3.2" ,
89 "tape" : " ^4.8.0"
910 },
1011 "scripts" : {
1112 "test" : " npm run tests-only" ,
1213 "pretests-only" : " node test-core-js" ,
13- "tests-only" : " tape test/*.js"
14+ "tests-only" : " tape test/*.js" ,
15+ "coverage" : " nyc npm run tests-only"
1416 },
1517 "testling" : {
1618 "files" : [
You can’t perform that action at this time.
0 commit comments