Skip to content
This repository was archived by the owner on Aug 15, 2024. It is now read-only.

Commit 71d9401

Browse files
Add spec for async exists.
1 parent c2b2ee7 commit 71d9401

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

test/MemoryFileSystem.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,10 @@ describe("async", function() {
210210
fs.readFile("/test/dir/b", function(err, content) {
211211
if(err) throw err;
212212
content.should.be.eql(new Buffer("World"));
213-
done();
213+
fs.exists("/test/dir/b", function(exists) {
214+
exists.should.be.eql(true);
215+
done();
216+
});
214217
});
215218
});
216219
});

0 commit comments

Comments
 (0)