Skip to content

Commit

Permalink
Add add missing recursive option to test
Browse files Browse the repository at this point in the history
  • Loading branch information
bcomnes committed Nov 1, 2023
1 parent a354698 commit 66cb936
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/src/fs/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ if (process.platform !== 'ios') {
const randomDirSegment = () => Math.random().toString(16).slice(2)
const dirname = path.join(FIXTURES, randomDirSegment(), randomDirSegment(), randomDirSegment())
await new Promise((resolve, reject) => {
fs.mkdir(dirname, {}, (err) => {
fs.mkdir(dirname, { recursive: true }, (err) => {
if (err) reject(err)

fs.stat(dirname, (err) => {
Expand Down

0 comments on commit 66cb936

Please sign in to comment.