Skip to content

Commit

Permalink
Add coverage:ci comand so
Browse files Browse the repository at this point in the history
> @critrace/[email protected] coverage /Users/chance/critrace/backend
> nyc report --reporter=text-lcov

TN:
SF:/Users/chance/critrace/backend/build/index.js
FN:2,(anonymous_0)
FN:7,__webpack_require__
FN:38,(anonymous_2)
FN:45,(anonymous_3)
FN:57,(anonymous_4)
FN:64,(anonymous_5)
FN:69,(anonymous_6)
FN:71,getDefault
FN:72,getModuleExports
FN:78,(anonymous_9)
FN:95,(anonymous_10)
FN:107,(anonymous_11)
FN:119,(anonymous_12)
FN:131,(anonymous_13)
FN:143,(anonymous_14)
FN:155,(anonymous_15)
FN:167,(anonymous_16)
FN:179,(anonymous_17)
FN:191,(anonymous_18)
FN:203,(anonymous_19)
FN:215,(anonymous_20)
FN:227,(anonymous_21)
FN:239,(anonymous_22)
FN:251,(anonymous_23)
FN:263,(anonymous_24)
FN:275,(anonymous_25)
FN:287,(anonymous_26)
FN:299,(anonymous_27)
FN:311,(anonymous_28)
FN:323,(anonymous_29)
FN:334,(anonymous_30)
FN:345,(anonymous_31)
FN:356,(anonymous_32)
FN:367,(anonymous_33)
FN:378,(anonymous_34)
FN:389,(anonymous_35)
FN:400,(anonymous_36)
FN:411,(anonymous_37)
FN:422,(anonymous_38)
FN:433,(anonymous_39)
FN:444,(anonymous_40)
FNF:41
FNH:38
FNDA:9,(anonymous_0)
FNDA:693,__webpack_require__
FNDA:450,(anonymous_2)
FNDA:171,(anonymous_3)
FNDA:0,(anonymous_4)
FNDA:0,(anonymous_5)
FNDA:423,(anonymous_6)
FNDA:0,getDefault
FNDA:2308,getModuleExports
FNDA:450,(anonymous_9)
FNDA:9,(anonymous_10)
FNDA:9,(anonymous_11)
FNDA:9,(anonymous_12)
FNDA:9,(anonymous_13)
FNDA:9,(anonymous_14)
FNDA:9,(anonymous_15)
FNDA:9,(anonymous_16)
FNDA:9,(anonymous_17)
FNDA:9,(anonymous_18)
FNDA:9,(anonymous_19)
FNDA:9,(anonymous_20)
FNDA:9,(anonymous_21)
FNDA:9,(anonymous_22)
FNDA:9,(anonymous_23)
FNDA:9,(anonymous_24)
FNDA:9,(anonymous_25)
FNDA:9,(anonymous_26)
FNDA:9,(anonymous_27)
FNDA:9,(anonymous_28)
FNDA:9,(anonymous_29)
FNDA:9,(anonymous_30)
FNDA:9,(anonymous_31)
FNDA:9,(anonymous_32)
FNDA:9,(anonymous_33)
FNDA:9,(anonymous_34)
FNDA:9,(anonymous_35)
FNDA:9,(anonymous_36)
FNDA:9,(anonymous_37)
FNDA:9,(anonymous_38)
FNDA:9,(anonymous_39)
FNDA:9,(anonymous_40)
DA:1,9
DA:4,9
DA:10,693
DA:11,414
DA:14,279
DA:21,279
DA:24,279
DA:27,279
DA:32,9
DA:35,9
DA:38,9
DA:39,450
DA:40,450
DA:45,9
DA:46,171
DA:47,171
DA:49,171
DA:57,9
DA:58,0
DA:59,0
DA:60,0
DA:61,0
DA:62,0
DA:63,0
DA:64,0
DA:65,0
DA:69,9
DA:70,423
DA:71,0
DA:72,2308
DA:73,423
DA:74,423
DA:78,450
DA:81,9
DA:85,9
DA:98,9
DA:110,9
DA:122,9
DA:134,9
DA:146,9
DA:158,9
DA:170,9
DA:182,9
DA:194,9
DA:206,9
DA:218,9
DA:230,9
DA:242,9
DA:254,9
DA:266,9
DA:278,9
DA:290,9
DA:302,9
DA:314,9
DA:325,9
DA:336,9
DA:347,9
DA:358,9
DA:369,9
DA:380,9
DA:391,9
DA:402,9
DA:413,9
DA:424,9
DA:435,9
DA:446,9
LF:66
LH:57
BRDA:10,0,0,414
BRDA:10,0,1,279
BRDA:39,1,0,450
BRDA:39,1,1,0
BRDA:46,2,0,171
BRDA:46,2,1,0
BRDA:46,3,0,171
BRDA:46,3,1,171
BRDA:58,4,0,0
BRDA:58,4,1,0
BRDA:59,5,0,0
BRDA:59,5,1,0
BRDA:60,6,0,0
BRDA:60,6,1,0
BRDA:60,7,0,0
BRDA:60,7,1,0
BRDA:60,7,2,0
BRDA:60,7,3,0
BRDA:64,8,0,0
BRDA:64,8,1,0
BRDA:64,9,0,0
BRDA:64,9,1,0
BRDA:70,10,0,0
BRDA:70,10,1,423
BRDA:70,11,0,423
BRDA:70,11,1,423
BRF:26
BRH:9
end_of_record can be used in terminal
  • Loading branch information
chancehudson committed Jun 8, 2019
1 parent f66ff59 commit 121d10f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ node_js:

script:
- npm test
- npm run coverage
- npm run coverage:ci

after_success:
- test "$TRAVIS_BRANCH" = "master" && npm run deploy
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
"start": "npm run build && node -e \"require('dotenv').config(); require('./build').listen(4000);\"",
"pretest": "docker kill critrace-test || true && docker run --name=critrace-test -d --rm -p 27017:27017 mongo:4.0.9-xenial",
"test": "npm run build:test && nyc ava",
"coverage": "nyc report --reporter=text-lcov | coveralls",
"coverage": "nyc report --reporter=text-lcov",
"coverage:ci": "npm run coverage | coveralls",
"build": "npm run clean && webpack-cli",
"build:test": "npm run clean && webpack-cli --config webpack.t.js",
"build:prod": "npm run clean && webpack-cli --config webpack.prod.js",
Expand Down

0 comments on commit 121d10f

Please sign in to comment.