chore: remove deprecated systemPreferences methods (#26849)

This commit is contained in:
Milan Burda 2020-12-16 00:34:24 +01:00 committed by GitHub
parent 6ccebdf712
commit 6932e17088
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 29 additions and 50 deletions

View file

@ -244,18 +244,6 @@ describe('systemPreferences module', () => {
});
});
describe('systemPreferences.isInvertedColorScheme()', () => {
it('returns a boolean', () => {
expect(systemPreferences.isInvertedColorScheme()).to.be.a('boolean');
});
});
describe('systemPreferences.isHighContrastColorScheme()', () => {
it('returns a boolean', () => {
expect(systemPreferences.isHighContrastColorScheme()).to.be.a('boolean');
});
});
ifdescribe(process.platform === 'darwin')('systemPreferences.canPromptTouchID()', () => {
it('returns a boolean', () => {
expect(systemPreferences.canPromptTouchID()).to.be.a('boolean');