Skip to content

Commit

Permalink
Re-enable coverage reporting for unit tests (#169)
Browse files Browse the repository at this point in the history
Signed-off-by: heatherlp <heatherpollard0@gmail.com>
  • Loading branch information
heatherlp authored Mar 12, 2020
1 parent 3266533 commit 0c0c686
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"eslint": "eslint fabric-network/ fabric-ca-client/lib/ fabric-common/ test/",
"tslint": "tslint -t prose -p fabric-common/types/tsconfig.json 'fabric-common/**/*.ts' && tslint -t prose 'test/**/*.ts' && tslint -t prose -p fabric-network/tsconfig.json 'fabric-network/**/*.ts' ",
"docs": "node -e 'require(\"./scripts/npm_scripts/testFunctions.js\").cleanUpDocs()' && jsdoc -r -c docs/jsdoc.json -t ./node_modules/ink-docstrap/template",
"unitTest:all": "export HFC_LOGGING='{\"debug\":\"test/temp/debug.log\"}' && run-s unitTest:common unitTest:ca-client unitTest:network",
"unitTest:all": "export HFC_LOGGING='{\"debug\":\"test/temp/debug.log\"}' && nyc run-s unitTest:common unitTest:ca-client unitTest:network",
"unitTest:common": "mocha --reporter list 'fabric-common/test/**/*.js'",
"unitTest:ca-client": "mocha --reporter list 'fabric-ca-client/test/**/*.js'",
"unitTest:network": "npm run compile && mocha --require ts-node/register --reporter list 'fabric-network/test/**/*.{js,ts}'",
Expand Down Expand Up @@ -106,9 +106,9 @@
],
"cache": true,
"check-coverage": true,
"statements": 89,
"branches": 81,
"functions": 85,
"lines": 90
"statements": 82,
"branches": 76,
"functions": 77,
"lines": 84
}
}

0 comments on commit 0c0c686

Please sign in to comment.