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

Dderidder/x mochajs pr review part2 #5134

Closed

Conversation

73rhodes
Copy link

This PR addresses comments on #4989 by fixing the exit code in the following scenario:

  • if "--posix-exit-codes" is specified in the command-line options:
    • if no signal is caught
      • exit with code 0
    • otherwise exit with 128 + numerical signal

The PR also adds test coverage to assert that the original behavior of exiting with the number of failed tests continues to work the same way when "--posix-exit-codes" is not specified in the command line options.

@73rhodes 73rhodes closed this Apr 11, 2024
@73rhodes 73rhodes reopened this Apr 11, 2024
@73rhodes 73rhodes closed this Apr 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant