fix(core): update
This commit is contained in:
		| @@ -9,7 +9,7 @@ tap.test('should create a smartsystem instance', async tools => { | |||||||
| }); | }); | ||||||
|  |  | ||||||
| tap.test('should state the operating system', async () => { | tap.test('should state the operating system', async () => { | ||||||
|   expect(smartsystemInstance.cpuCount); |   expect(smartsystemInstance.cpus.length).to.be.greaterThan(0); | ||||||
| }); | }); | ||||||
|  |  | ||||||
| tap.start(); | tap.start(); | ||||||
|   | |||||||
| @@ -2,6 +2,5 @@ import * as plugins from './smartsystem.plugins'; | |||||||
|  |  | ||||||
| export class Smartsystem { | export class Smartsystem { | ||||||
|   public env = new plugins.smartenv.Smartenv() |   public env = new plugins.smartenv.Smartenv() | ||||||
|  |   public cpus = plugins.os.cpus(); | ||||||
|   public cpuCount = plugins.os.cpus().length; |  | ||||||
| } | } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user