Add caching to localfilesystem context

This commit is contained in:
Nick O'Leary
2018-07-02 22:32:20 +01:00
parent 7423583508
commit 43d7c8d48c
3 changed files with 140 additions and 32 deletions

View File

@@ -29,7 +29,7 @@ describe('localfilesystem',function() {
});
beforeEach(function() {
context = LocalFileSystem({dir: resourcesDir});
context = LocalFileSystem({dir: resourcesDir, cache: false});
return context.open();
});
@@ -308,7 +308,7 @@ describe('localfilesystem',function() {
done();
});
});
});
}).catch(done);
});
});
});
@@ -375,4 +375,4 @@ describe('localfilesystem',function() {
});
});
});
});
});