-
-
Notifications
You must be signed in to change notification settings - Fork 305
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
[fix] don't consider 'ok' of todo tests in exit code #470
Conversation
Thank you! Hope this is merged soon |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
This sadly doesn't fix the issue. The test added does not check the exit code like these tests do https://github.com/substack/tape/blob/master/test/exit.js |
A PR that does would be appreciated. |
I looked into the code and I couldn’t find any path that changed the exit code. It seems that the error automatically changes it. |
I will try to add other tests.
I sorry, I don't understand. |
There are a few mentions of |
Tried to add tests in #471 |
After the fix #470 I don't get any of those problems. Can you please confirm again, I've tested it and I get the right exit code. |
I tried the latest on npm and I get those errors, even after deleting node_modules, but I'm running it via I think that I'll open an issue in |
Fixes #469
result.ok
not being considered towards exitcode ifresult.todo
is true