Permalink
Browse files

adding rmdir() and unlink() to the methods that will patch fs

  • Loading branch information...
1 parent 5169e3b commit d726b46027491d0054f9e295110c34a5008fd67e @tgeorgiev tgeorgiev committed Jan 26, 2013
Showing with 3 additions and 1 deletion.
  1. +3 −1 lib/fake-fs.js
View
@@ -218,7 +218,9 @@ var methods = [
'readdir',
'mkdir',
'readFile',
- 'writeFile'
+ 'writeFile',
+ 'rmdir',
+ 'unlink'
].reduce(function (res, meth) {
res.push(meth)
res.push(meth + 'Sync')

0 comments on commit d726b46

Please sign in to comment.