Skip to content

Commit

Permalink
CB-5899: Add test for DirectoryReader.readEntries() to return proper …
Browse files Browse the repository at this point in the history
…Entries
  • Loading branch information
clelland committed Jan 29, 2014
1 parent 4cef6e7 commit 17da0d7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions autotest/tests/file.tests.js
Expand Up @@ -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);
Expand Down

0 comments on commit 17da0d7

Please sign in to comment.