Cleanup, more coverage

This commit is contained in:
Danielv123 committed 2017-06-17 17:40:46 +02:00
1 parent d2f122936e
commit e6da33582c
4 files changed
+6 -47

No files matched your search

+2 -1
View File
@@ -100,7 +100,8 @@ describe("fileOps.js", function(){
fs.statSync("lib/test");
}, Error);
assert(x);
});
// give it some extra time because its sometimes very slow
}).timeout(5000);
it("returns false if you give it an invalid path", function(){
let x = fileOps.deleteFolderRecursiveSync("This isn't a real path");
assert(!x);