fix(core): update
This commit is contained in:
@ -67,6 +67,13 @@ tap.test('should get base directory', async () => {
|
||||
expect(files.length).to.equal(1);
|
||||
});
|
||||
|
||||
tap.test('should correctly build paths for sub directories', async () => {
|
||||
const dir1 = await baseDirectory.getSubDirectoryByName('dir1');
|
||||
expect(dir1).to.be.instanceOf(smartbucket.Directory);
|
||||
const dir1BasePath = dir1.getBasePath();
|
||||
console.log(dir1BasePath);
|
||||
});
|
||||
|
||||
tap.test('clean up directory style tests', async () => {
|
||||
await myBucket.fastRemove('dir1/file1.txt');
|
||||
await myBucket.fastRemove('dir1/file2.txt');
|
||||
|
Reference in New Issue
Block a user