smartsystem/test/test.ts
2019-08-22 01:05:21 +02:00

16 lines
465 B
TypeScript

import { tap, expect } from '@pushrocks/tapbundle';
import * as smartsystem from '../ts/index';
let smartsystemInstance: smartsystem.Smartsystem;
tap.test('should create a smartsystem instance', async tools => {
smartsystemInstance = new smartsystem.Smartsystem();
expect(smartsystemInstance).to.be.instanceOf(smartsystem.Smartsystem);
});
tap.test('should state the operating system', async () => {
expect(smartsystemInstance.cpuCount);
});
tap.start();