Fix up promises in tests, remove package-lock

This commit is contained in:
Nick O'Leary
2018-08-20 16:45:50 +01:00
parent 38a1291c5b
commit 954226da0d
3 changed files with 3 additions and 12030 deletions

View File

@@ -673,7 +673,7 @@ describe('localfilesystem',function() {
it('should enumerate context keys in the cache',function() {
var globalData = {foo:"bar"};
fs.outputFile(path.join(resourcesDir,defaultContextBase,"global","global.json"), JSON.stringify(globalData,null,4), "utf8").then(function(){
return fs.outputFile(path.join(resourcesDir,defaultContextBase,"global","global.json"), JSON.stringify(globalData,null,4), "utf8").then(function(){
context = LocalFileSystem({dir: resourcesDir, cache: true, flushInterval: 2});
return context.open()
}).then(function(){