mirror of
https://github.com/electron/electron.git
synced 2026-01-24 23:08:10 -05:00
Only assert GPU process on macOS
This commit is contained in:
@@ -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'))
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user