File tree Expand file tree Collapse file tree 5 files changed +16
-4
lines changed Expand file tree Collapse file tree 5 files changed +16
-4
lines changed Original file line number Diff line number Diff line change 11.DS_Store
22* .log
3- /node_modules /
3+ .nyc_output /
4+ coverage /
5+ node_modules /
46yarn.lock
Original file line number Diff line number Diff line change 1+ coverage /
Original file line number Diff line number Diff line change @@ -2,3 +2,4 @@ language: node_js
22node_js :
33- lts/boron
44- node
5+ after_script : bash <(curl -s https://codecov.io/bash)
Original file line number Diff line number Diff line change 2929 "object-assign" : " ^4.1.0"
3030 },
3131 "devDependencies" : {
32+ "nyc" : " ^12.0.2" ,
3233 "prettier" : " ^1.14.2" ,
3334 "remark-cli" : " ^5.0.0" ,
3435 "remark-preset-wooorm" : " ^4.0.0" ,
3738 },
3839 "scripts" : {
3940 "format" : " remark . -qfo && prettier --write \" **/*.js\" && xo --fix" ,
40- "test" : " node test"
41+ "test-api" : " node test" ,
42+ "test-coverage" : " nyc --reporter lcov tape test.js" ,
43+ "test" : " npm run format && npm run test-coverage"
44+ },
45+ "nyc" : {
46+ "check-coverage" : true ,
47+ "lines" : 100 ,
48+ "functions" : 100 ,
49+ "branches" : 100
4150 },
4251 "prettier" : {
4352 "tabWidth" : 2 ,
Original file line number Diff line number Diff line change 11'use strict'
22
3- var u = require ( '..' )
4-
53var test = require ( 'tape' )
4+ var u = require ( '.' )
65
76test ( function ( t ) {
87 t . deepEqual (
You can’t perform that action at this time.
0 commit comments