2017-06-08 23:24:19 +00:00
|
|
|
import * as smartdrive from '../dist/index'
|
|
|
|
|
|
|
|
import { expect, tap } from 'tapbundle'
|
|
|
|
|
|
|
|
let myLocalDriveList: smartdrive.LocalDriveList
|
|
|
|
let driveList: smartdrive.IDrive[]
|
|
|
|
|
|
|
|
tap.test('should create a new LocalDriveList', async () => {
|
|
|
|
myLocalDriveList = new smartdrive.LocalDriveList()
|
|
|
|
expect(myLocalDriveList).to.be.instanceof(smartdrive.LocalDriveList)
|
|
|
|
})
|
|
|
|
|
|
|
|
tap.test('should deliver a local drivelist', async () => {
|
|
|
|
driveList = await myLocalDriveList.getList()
|
|
|
|
})
|
|
|
|
|
|
|
|
tap.test('drivelist should contain drives', async () => {
|
|
|
|
console.log(driveList)
|
|
|
|
})
|
|
|
|
|
2017-07-20 22:04:08 +00:00
|
|
|
tap.test('drivelist should contain drives', async () => {
|
|
|
|
|
|
|
|
})
|
|
|
|
|
2017-06-08 23:24:19 +00:00
|
|
|
tap.start()
|