mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-18 23:33:12 +09:00
Cleanup, more coverage
This commit is contained in:
1 parent
d2f122936e
commit
e6da33582c
4 files changed
+6
-47
No files matched your search
+2
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user