chore: remove deprecated systemPreferences methods (#26849)
This commit is contained in:
parent
6ccebdf712
commit
6932e17088
6 changed files with 29 additions and 50 deletions
|
@ -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');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue