Permalink
Browse files

CB-5899: Add test for DirectoryReader.readEntries() to return proper …

…Entries
  • Loading branch information...
1 parent 4cef6e7 commit 17da0d7d8a5457167939eacfbc004fd4780afdde @clelland clelland committed Jan 29, 2014
Showing with 3 additions and 0 deletions.
  1. +3 −0 autotest/tests/file.tests.js
@@ -1054,6 +1054,9 @@ describe('File API', function() {
expect(entries instanceof Array).toBe(true);
expect(entries.length).toBe(1);
expect(entries[0].fullPath).toCanonicallyMatch(fileEntry.fullPath);
+ expect(entries[0].filesystem).not.toBe(null)
+ expect(entries[0].filesystem instanceof FileSystem).toBe(true)
+
// cleanup
directory.removeRecursively(done, fail);
}, fail);

0 comments on commit 17da0d7

Please sign in to comment.