fix(core): update

This commit is contained in:
2021-12-03 16:39:50 +01:00
parent 770c5a2b67
commit b5bd1a7c9d
28 changed files with 28590 additions and 614 deletions

View File

@ -1,25 +1,23 @@
import * as smartdrive from '../dist/index'
import * as smartdrive from '../ts/index';
import { expect, tap } from 'tapbundle'
import { expect, tap } from '@pushrocks/tapbundle';
let myLocalDriveList: smartdrive.LocalDriveList
let driveList: smartdrive.IDrive[]
let myLocalDriveList: smartdrive.SmartDrive;
let driveList: smartdrive.IDrive[];
tap.test('should create a new LocalDriveList', async () => {
myLocalDriveList = new smartdrive.LocalDriveList()
expect(myLocalDriveList).to.be.instanceof(smartdrive.LocalDriveList)
})
myLocalDriveList = new smartdrive.SmartDrive();
expect(myLocalDriveList).to.be.instanceof(smartdrive.SmartDrive);
});
tap.test('should deliver a local drivelist', async () => {
driveList = await myLocalDriveList.getList()
})
driveList = await myLocalDriveList.getLocalDriveList();
});
tap.test('drivelist should contain drives', async () => {
console.log(driveList)
})
console.log(driveList);
});
tap.test('drivelist should contain drives', async () => {
})
tap.test('drivelist should contain drives', async () => {});
tap.start()
tap.start();