Browse Source
test(coverage): coverage only for unit tests (#785 )
Coverage tests are only relevant for the unit tests and do not work in
the context of the e2e test suite. Only generate coverage reports
for the unit tests.
renovate/lint-staged-8.x
Tom Kirkpatrick
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
package.json
@ -36,6 +36,7 @@
"test" : "npm run lint && npm run lint-styles && npm run flow && npm run build && npm run test-unit && npm run test-e2e" ,
"test" : "npm run lint && npm run lint-styles && npm run flow && npm run build && npm run test-unit && npm run test-e2e" ,
"test-base" : "cross-env NODE_ENV=test BABEL_DISABLE_CACHE=true ELECTRON_DISABLE_SECURITY_WARNINGS=true node --trace-warnings ./node_modules/jest/bin/jest --forceExit" ,
"test-base" : "cross-env NODE_ENV=test BABEL_DISABLE_CACHE=true ELECTRON_DISABLE_SECURITY_WARNINGS=true node --trace-warnings ./node_modules/jest/bin/jest --forceExit" ,
"test-unit" : "npm run test-base -- ./test/unit" ,
"test-unit" : "npm run test-base -- ./test/unit" ,
"test-unit" : "npm run test-base -- --coverage ./test/unit" ,
"test-e2e" : "npm run test-base -- ./test/e2e" ,
"test-e2e" : "npm run test-base -- ./test/e2e" ,
"test-ci" : "npm run test-e2e && npm run test-unit"
"test-ci" : "npm run test-e2e && npm run test-unit"
} ,
} ,
@ -160,7 +161,6 @@
] ,
] ,
"homepage" : "https://github.com/LN-Zap/zap-desktop#readme" ,
"homepage" : "https://github.com/LN-Zap/zap-desktop#readme" ,
"jest" : {
"jest" : {
"collectCoverage" : true ,
"collectCoverageFrom" : [
"collectCoverageFrom" : [
"app/**/*.js" ,
"app/**/*.js" ,
"!app/dist/**" ,
"!app/dist/**" ,