Skip to content
This repository has been archived by the owner on Feb 19, 2020. It is now read-only.

Commit

Permalink
Don't depend on jest exit code
Browse files Browse the repository at this point in the history
Changed script to execute independently of jest error code.
Looks like jest returns exit code 1 if coverage is under the defined goal when running in npm scripts: jestjs/jest#3520
  • Loading branch information
mrfyda committed Jul 11, 2018
1 parent 149e9c2 commit e5be8b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -147,7 +147,7 @@ npm run test-with-coverage

```json
"scripts": {
"test-with-coverage": "jest --coverage && cat ./coverage/lcov.info | codacy-coverage"
"test-with-coverage": "jest --coverage || cat ./coverage/lcov.info | codacy-coverage"
}
```

Expand Down

0 comments on commit e5be8b8

Please sign in to comment.