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

Implement registerCompletionHandler() #3283

Merged
merged 2 commits into from
Jan 11, 2024
Merged

Implement registerCompletionHandler() #3283

merged 2 commits into from
Jan 11, 2024

Commits on Jan 11, 2024

  1. Ensure AVA exits with code 1 after an unexpected process.exit() in a …

    …test worker
    
    It prints the error, so it should fail as such.
    novemberborn committed Jan 11, 2024
    Configuration menu
    Copy the full SHA
    faf45ea View commit details
    Browse the repository at this point in the history
  2. Implement registerCompletionHandler()

    Register a function to be called when AVA has completed a test run without uncaught exceptions or unhandled rejections.
    
    Fixes #3279.
     *
     * Completion handlers are invoked in order of registration. Results are not awaited.
    novemberborn committed Jan 11, 2024
    Configuration menu
    Copy the full SHA
    f5eed14 View commit details
    Browse the repository at this point in the history