Only assert GPU process on macOS

This commit is contained in:
Kevin Sawicki 2017-05-26 10:10:56 -07:00
parent 9f49b71b89
commit edd840fcc0

View file

@ -550,7 +550,7 @@ describe('app module', function () {
assert.equal(typeof cpu.idleWakeupsPerSecond, 'number')
}
if (process.platform !== 'linux') {
if (process.platform === 'darwin') {
assert.ok(types.includes('GPU'))
}