Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed unit tests not terminating on travis #26

Closed
nkrusch opened this issue Feb 24, 2021 · 1 comment
Closed

Failed unit tests not terminating on travis #26

nkrusch opened this issue Feb 24, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@nkrusch
Copy link
Contributor

nkrusch commented Feb 24, 2021

Describe the bug
Running failing unit tests on travis does not terminate the build

Expected behavior
Test command should return non-zero code when tests complete to know it failed

Screenshots
see build example

@nkrusch nkrusch added the bug Something isn't working label Feb 24, 2021
nkrusch added a commit that referenced this issue Feb 24, 2021
fix: #26 unit test coverage reporting and reporting error code on failure
@nkrusch
Copy link
Contributor Author

nkrusch commented Feb 24, 2021

This issue is now resolved, see

in travis configuration I am using

npm run test -- --coverage || travis_terminate 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

1 participant