Files
smartdrive/test/test.ts

24 lines
649 B
TypeScript
Raw Normal View History

2021-12-03 16:39:50 +01:00
import * as smartdrive from '../ts/index';
2017-06-09 01:24:19 +02:00
2021-12-03 16:39:50 +01:00
import { expect, tap } from '@pushrocks/tapbundle';
2017-06-09 01:24:19 +02:00
2021-12-03 16:39:50 +01:00
let myLocalDriveList: smartdrive.SmartDrive;
let driveList: smartdrive.IDrive[];
2017-06-09 01:24:19 +02:00
tap.test('should create a new LocalDriveList', async () => {
2021-12-03 16:39:50 +01:00
myLocalDriveList = new smartdrive.SmartDrive();
expect(myLocalDriveList).to.be.instanceof(smartdrive.SmartDrive);
});
2017-06-09 01:24:19 +02:00
tap.test('should deliver a local drivelist', async () => {
2021-12-03 16:39:50 +01:00
driveList = await myLocalDriveList.getLocalDriveList();
});
2017-06-09 01:24:19 +02:00
tap.test('drivelist should contain drives', async () => {
2021-12-03 16:39:50 +01:00
console.log(driveList);
});
2017-06-09 01:24:19 +02:00
2021-12-03 16:39:50 +01:00
tap.test('drivelist should contain drives', async () => {});
2017-07-21 00:04:08 +02:00
2021-12-03 16:39:50 +01:00
tap.start();