Skip to content

test: handle null stdio streams in spawnSyncAndAssert helper#64273

Open
joyeecheung wants to merge 1 commit into
nodejs:mainfrom
joyeecheung:fix-helper
Open

test: handle null stdio streams in spawnSyncAndAssert helper#64273
joyeecheung wants to merge 1 commit into
nodejs:mainfrom
joyeecheung:fix-helper

Conversation

@joyeecheung

@joyeecheung joyeecheung commented Jul 3, 2026

Copy link
Copy Markdown
Member

When a test uses 'pipe' for the stdio but the child process crashes, the stream will be null. In this case, don't try to stringify it and instead just log an empty string.

@nodejs-github-bot nodejs-github-bot added needs-ci PRs that need a full CI run. test Issues and PRs related to the tests. labels Jul 3, 2026
When a test  uses 'pipe' for the stdio but the child process crashes,
the stream will be null. In this case, don't try to stringify it and
instead log an empty string.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs-ci PRs that need a full CI run. test Issues and PRs related to the tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants