refactor: ginify SystemPreferences (#24675)
This commit is contained in:
parent
3f45fc24bb
commit
362da77c0a
6 changed files with 76 additions and 70 deletions
|
@ -53,7 +53,7 @@ describe('systemPreferences module', () => {
|
|||
for (const badDefault of badDefaults) {
|
||||
expect(() => {
|
||||
systemPreferences.registerDefaults(badDefault as any);
|
||||
}).to.throw('Invalid userDefault data provided');
|
||||
}).to.throw('Error processing argument at index 0, conversion failure from ');
|
||||
}
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue