Commit 3f4bfef6 authored by Darshan Sen's avatar Darshan Sen Committed by Rich Trott
Browse files

test: test mode passed as an options object in mkdir/mkdirSync

Add tests for mode passed as an options object in fs.mkdir() and
fs.mkdirSync().

This also adds coverage for mkdirSync() inside the conditional where
options.mode is not undefined.

PR-URL: https://github.com/nodejs/node/pull/37008
Refs: https://coverage.nodejs.org/coverage-e3e054d020ee5ef6/lib/fs.js.html#L1023


Reviewed-By: default avatarLuigi Pinca <luigipinca@gmail.com>
Reviewed-By: default avatarRich Trott <rtrott@gmail.com>
parent dbdc14b0
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