Skip to content

Commit

Permalink
Only benchmark branch coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
elenadimitrova committed Apr 15, 2021
1 parent d01f2c9 commit 7927800
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .solcover.js
@@ -1,5 +1,7 @@
module.exports = {
client: require('ganache-cli'),
measureStatementCoverage: false,
measureFunctionCoverage: false,
skipFiles: [
"../contracts-test",
"../lib_0.5",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -23,7 +23,7 @@
"ctest": "npm run compile && npm run test",
"test:integration": "npx truffle test --compile-none --network prodFork test-integration/*",
"provision:lib:artefacts": "bash ./scripts/provision_lib_artefacts.sh",
"test:coverage": "COVERAGE=1 node scripts/coverage.js && istanbul check-coverage --statements 93 --branches 85 --functions 91 --lines 93",
"test:coverage": "COVERAGE=1 node scripts/coverage.js && istanbul check-coverage --branches 85 --lines 93",
"lint:js": "eslint .",
"lint:contracts": "npx solhint contracts/**/*.sol && npx solhint contracts/**/**/*.sol",
"test:deployment": "./scripts/deploy.sh --no-compile development `seq 1 8`",
Expand Down

0 comments on commit 7927800

Please sign in to comment.