Skip to content

Commit

Permalink
Add solcover.js
Browse files Browse the repository at this point in the history
  • Loading branch information
justinkchen committed Feb 28, 2020
1 parent 8516a88 commit 8f4fbe7
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
10 changes: 10 additions & 0 deletions .solcover.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
module.exports = {
port: 8555,
testrpcOptions: "--db blockchain --networkId 50 --port 8555 --accounts 20 -e 1000000 -m 'concert load couple harbor equip island argue ramp clarify fence smart topic'",
testCommand: "node --max-old-space-size=4096 ../node_modules/.bin/truffle test `find ./transpiled/test/contracts -name '*.spec.js'` --network coverage",
copyPackages: ['openzeppelin-solidity', 'set-protocol-contracts'],
skipFiles: [
'Migrations.sol',
'mocks',
],
};
6 changes: 1 addition & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,17 +34,13 @@
"lint-ts": "tslint -c tslint.json -p tsconfig.json --fix test/**/*.ts utils/**/*.ts deployments/**/*.ts",
"precommit": "lint-staged",
"prepare-test": "yarn setup && yarn transpile",
"profile-gas": "yarn prepare-test && truffle test `find transpiled/test/profile -name '*.spec.js'`",
"postinstall": "bash scripts/fix-web3-eth-abi.sh",
"setup": "yarn clean && yarn deploy-development && yarn generate-typings",
"test": "yarn prepare-test && yarn truffle-test-contracts",
"test-nocompile": "yarn transpile && yarn truffle-test-contracts",
"test-continuous": "yarn deploy-development && yarn test",
"test-integrations": "yarn prepare-test && yarn truffle-test-integrations",
"test-scenarios": "yarn prepare-test && yarn truffle-test-scenarios",
"transpile": "tsc",
"truffle-test-integrations": "truffle test `find transpiled/test/integrations -name '*.spec.js'`",
"truffle-test-contracts": "truffle test `find transpiled/test/viewer -name '*.spec.js'`",
"truffle-test-contracts": "truffle test `find transpiled/test/contracts/viewer -name '*.spec.js'`",
"prepublishOnly": "yarn dist",
"flatten": "truffle-flattener contracts/managers/SocialTradingManager.sol"
},
Expand Down

0 comments on commit 8f4fbe7

Please sign in to comment.