mirror of
https://github.com/electron/electron.git
synced 2026-01-08 23:18:06 -05:00
test: add back smoke test for removed API (#40132)
This commit is contained in:
@@ -382,6 +382,8 @@ if (process.platform === 'darwin') {
|
||||
// @ts-expect-error Removed API
|
||||
systemPreferences.setAppLevelAppearance('dark');
|
||||
// @ts-expect-error Removed API
|
||||
console.log(systemPreferences.appLevelAppearance);
|
||||
// @ts-expect-error Removed API
|
||||
console.log(systemPreferences.getColor('alternate-selected-control-text'));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user