Browse Source

Only assert GPU process on macOS

Kevin Sawicki 8 years ago
parent
commit
edd840fcc0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      spec/api-app-spec.js

+ 1 - 1
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'))
       }