fix(core): update

This commit is contained in:
2019-10-18 15:43:06 +02:00
parent fcadbe0a44
commit 514a8407f6
3 changed files with 31 additions and 19 deletions

View File

@ -58,9 +58,13 @@ tap.test('prepare for directory style tests', async () => {
tap.test('should get base directory', async () => {
baseDirectory = await myBucket.getBaseDirectory();
const directories = await baseDirectory.listDirectories();
console.log('Found the following directories:');
console.log(directories);
expect(directories.length).to.equal(3);
const files = await baseDirectory.listFiles();
console.log('Found the following files:');
console.log(files);
expect(files.length).to.equal(1);
});
tap.test('clean up directory style tests', async () => {