Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

…Entries
  • Loading branch information...
commit 17da0d7d8a5457167939eacfbc004fd4780afdde 1 parent 4cef6e7
@clelland clelland authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  autotest/tests/file.tests.js
View
3  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);
Please sign in to comment.
Something went wrong with that request. Please try again.