Skip to content

test: add `spawnSyncAndAssert` util

spawnSyncAndExitWithoutError will use the last argument as a bag of expectations, but will also pass it to spawnSync. That sometimes causes problems if the expectations are incompatible with the bag of options spawnSync expects. With this PR, all arguments but the last one is passed to spawnSync, making for a more comprehensible API.

Merge request reports

Loading