test: add back smoke test for removed API (#40132)

This commit is contained in:
David Sanders 2023-10-08 16:46:56 -07:00 committed by GitHub
parent 6a99c7b840
commit 8b8fbd0408
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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'));
}