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

test: add and use expectSyncExitWithoutError() and expectSyncExit() utils #49020

Closed
wants to merge 2 commits into from

Commits on Aug 15, 2023

  1. test: add expectSyncExitWithoutError() and expectSyncExit() utils

    These can be used to check the state and the output of a child
    process launched with `spawnSync()`. They log additional information
    about the child process when the check fails to facilitate debugging
    test failures.
    joyeecheung committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    7b106ed View commit details
    Browse the repository at this point in the history
  2. test: use expectSyncExit{WithErrors} in snapshot tests

    ..and replace the similar code added for logging.
    joyeecheung committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    9303852 View commit details
    Browse the repository at this point in the history