Add initial getGPUFeatureStatus spec
This commit is contained in:
parent
0ecfb4e2f8
commit
4a5831a733
1 changed files with 10 additions and 0 deletions
|
@ -558,4 +558,14 @@ describe('app module', function () {
|
|||
assert.ok(types.includes('Tab'))
|
||||
})
|
||||
})
|
||||
|
||||
describe('getGPUFeatureStatus() API', function () {
|
||||
if (process.platform !== 'darwin') return
|
||||
|
||||
it('returns the graphic features statuses', function () {
|
||||
const features = app.getGPUFeatureStatus()
|
||||
assert.equal(typeof features.webgl, 'string')
|
||||
assert.equal(typeof features.gpu_compositing, 'string')
|
||||
})
|
||||
})
|
||||
})
|
||||
|
|
Loading…
Add table
Reference in a new issue