Skip to content

Commit

Permalink
fs.mkdir
Browse files Browse the repository at this point in the history
  • Loading branch information
Sleavely committed Apr 25, 2020
1 parent 24658c1 commit 47bdd5d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/utils/fs.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ const { promisify } = require('util')

exports.access = promisify(fs.access)
exports.lstat = promisify(fs.lstat)
exports.mkdir = promisify(fs.mkdir)
exports.readDir = promisify(fs.readdir)
exports.readFile = promisify(fs.readFile)
exports.stat = promisify(fs.stat)
Expand Down
4 changes: 4 additions & 0 deletions src/utils/fs.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ describe('lstat()', () => {
it.todo('Calls fs.lstat')
})

describe('mkdir()', () => {
it.todo('Calls fs.mkdir')
})

describe('readDir()', () => {
it.todo('Calls fs.readdir')
})
Expand Down

0 comments on commit 47bdd5d

Please sign in to comment.