Commit f85ef977 authored by Richard Lau's avatar Richard Lau
Browse files

test: log errors in test-fs-readfile-tostring-fail

The test writes out a large file via `fs.createWriteStream()` but was
not listening for the `error` event, which the `fs` docs describe as the
reliable way to detect write errors.

PR-URL: https://github.com/nodejs/node/pull/27058


Reviewed-By: default avatarRuben Bridgewater <ruben@bridgewater.de>
Reviewed-By: default avatarColin Ihrig <cjihrig@gmail.com>
parent 53e0f632
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment