chore: fix type check in systemPreferences module specs (#23064)

This commit is contained in:
Robo
2020-04-09 15:55:47 -07:00
committed by GitHub
parent 9fb06b923b
commit abbe7417f2

View File

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