mirror of
https://github.com/electron/electron.git
synced 2026-05-02 03:00:22 -04:00
feat: getGPUInfo not longer supports 'complete' on macOS
See https://chromium-review.googlesource.com/c/chromium/src/+/1208362
This commit is contained in:
committed by
Jeremy Apthorp
parent
e28eeb0c2e
commit
a6256c672a
@@ -846,8 +846,8 @@ describe('app module', () => {
|
||||
|
||||
it('succeeds with complete GPUInfo', async () => {
|
||||
const completeInfo = await getGPUInfo('complete')
|
||||
if (process.platform === 'linux') {
|
||||
// For linux complete info is same as basic info
|
||||
if (process.platform === 'linux' || process.platform === 'darwin') {
|
||||
// For linux and macOS complete info is same as basic info
|
||||
await verifyBasicGPUInfo(completeInfo)
|
||||
const basicInfo = await getGPUInfo('basic')
|
||||
expect(completeInfo).to.deep.equal(basicInfo)
|
||||
|
||||
Reference in New Issue
Block a user