Skip to content

test: enable more case of bad buffer in `fs.write`

Passing to the string parameter an object with an own toString function is no longer supported.(DEP0162) So use such case as bad buffer in test.

Refs: https://github.com/nodejs/node/blob/main/doc/api/deprecations.md#dep0162-fswrite-fswritefilesync-coercion-to-string Refs: https://github.com/nodejs/node/pull/42796

Merge request reports

Loading