Add systemPreferences.isInvertedColorScheme API
This commit is contained in:
parent
2efb7a12cb
commit
7b49d94e9f
2 changed files with 9 additions and 0 deletions
|
@ -30,4 +30,10 @@ describe('systemPreferences module', function () {
|
|||
assert(languages.length > 0)
|
||||
})
|
||||
})
|
||||
|
||||
describe('systemPreferences.isInvertedColorScheme()', function () {
|
||||
it('returns a boolean', function () {
|
||||
assert.equal(typeof systemPreferences.isInvertedColorScheme(), 'boolean')
|
||||
})
|
||||
})
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue