chore: fix type check in systemPreferences module specs (#23064)
This commit is contained in:
parent
9fb06b923b
commit
abbe7417f2
1 changed files with 1 additions and 1 deletions
|
@ -111,7 +111,7 @@ describe('systemPreferences module', () => {
|
|||
|
||||
it('throws when type is not valid', () => {
|
||||
expect(() => {
|
||||
systemPreferences.setUserDefault(KEY, 'abc', 'foo');
|
||||
systemPreferences.setUserDefault(KEY, 'abc' as any, 'foo');
|
||||
}).to.throw('Invalid type: abc');
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue