From edd840fcc002aa12018e34ef7bf48b33b9145e71 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Fri, 26 May 2017 10:10:56 -0700 Subject: [PATCH] Only assert GPU process on macOS --- spec/api-app-spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/api-app-spec.js b/spec/api-app-spec.js index 60d87e9008..fdf8510f90 100644 --- a/spec/api-app-spec.js +++ b/spec/api-app-spec.js @@ -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')) }