diff --git a/.solcover.js b/.solcover.js index 0963f995a..1936543c6 100644 --- a/.solcover.js +++ b/.solcover.js @@ -1,5 +1,7 @@ module.exports = { client: require('ganache-cli'), + measureStatementCoverage: false, + measureFunctionCoverage: false, skipFiles: [ "../contracts-test", "../lib_0.5", diff --git a/package.json b/package.json index af50f36de..6cbb49a59 100644 --- a/package.json +++ b/package.json @@ -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`",