test: add and use spawnSyncAndExit() and spawnSyncAndExitWithoutError() by joyeecheung · Pull Request #49200 · nodejs/node
Replaces expectSyncExit() and expectSyncExitWithoutError(). Since we usually just check the child process right after its spawned, these shorthands also takes care of the spawning. This makes the tests more concise.
added
needs-ci
labels
Aug 16, 2023This was referenced
Aug 21, 2023UlisesGascon pushed a commit that referenced this pull request
Sep 10, 2023Replaces expectSyncExit() and expectSyncExitWithoutError(). Since we usually just check the child process right after its spawned, these shorthands also takes care of the spawning. This makes the tests more concise. PR-URL: #49200 Reviewed-By: LiviaMedeiros <livia@cirno.name> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters