fix(core): update

This commit is contained in:
Philipp Kunz 2019-08-22 13:01:44 +02:00
parent 9dded0eab5
commit 10ab005343
2 changed files with 2 additions and 3 deletions

View File

@ -9,7 +9,7 @@ tap.test('should create a smartsystem instance', async tools => {
});
tap.test('should state the operating system', async () => {
expect(smartsystemInstance.cpuCount);
expect(smartsystemInstance.cpus.length).to.be.greaterThan(0);
});
tap.start();

View File

@ -2,6 +2,5 @@ import * as plugins from './smartsystem.plugins';
export class Smartsystem {
public env = new plugins.smartenv.Smartenv()
public cpuCount = plugins.os.cpus().length;
public cpus = plugins.os.cpus();
}