Update coverage script

This commit is contained in:
Agustin Pane 2020-07-01 19:20:06 -03:00
parent 47adfde11b
commit 6d67454ee9
2 changed files with 6 additions and 6 deletions

View File

@ -6,5 +6,5 @@ if [[ -n "$TRAVIS_TAG" ]]; then export REACT_APP_ENV='production'; fi
yarn lint:check
yarn prettier:check
yarn test
yarn test:coverage
yarn build

View File

@ -36,7 +36,8 @@
"release": "electron-builder --mac --linux --windows -p always",
"start-mainnet": "REACT_APP_NETWORK=mainnet yarn start",
"start": "react-app-rewired start",
"test": "NODE_ENV=test && react-app-rewired test --env=jsdom --coverage --watchAll=false",
"test": "NODE_ENV=test && react-app-rewired test --env=jsdom",
"test:coverage": "yarn test --coverage --watchAll=false",
"coveralls": "cat ./coverage/lcov.info | coveralls"
},
"husky": {
@ -54,10 +55,9 @@
"collectCoverageFrom": [
"src/**/*.{js,jsx,ts,tsx}",
"!src/**/*.{.test.*}",
"!<rootDir>/node_modules/",
"!<rootDir>/src/assets/**",
"!<rootDir>/config",
"!<rootDir>/src/test"
"!src/**/test/**/*",
"!src/**/assets/**",
"!src/config/**/*"
]
},
"productName": "Safe Multisig",