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
5
5
npm-shrinkwrap.json
6
6
package-lock.json
7
7
yarn.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 28
28
matrix :
29
29
fast_finish : true
30
30
include :
31
+ - node_js : " node"
32
+ env : COVERAGE=true
31
33
- node_js : " 8.5"
32
34
env : TEST=true ALLOW_FAILURE=true
33
35
- node_js : " 8.4"
Original file line number Diff line number Diff line change 5
5
"main" : " index.js" ,
6
6
"devDependencies" : {
7
7
"core-js" : " ^2.5.1" ,
8
+ "nyc" : " ^10.3.2" ,
8
9
"tape" : " ^4.8.0"
9
10
},
10
11
"scripts" : {
11
12
"test" : " npm run tests-only" ,
12
13
"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"
14
16
},
15
17
"testling" : {
16
18
"files" : [
You can’t perform that action at this time.
0 commit comments