Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
it('should raise an error when call function with invalid arguments', () => {
// $ExpectError: need a string
setApiKey(69);
});
});
it('should passes when used properly', () => {
(setApiKey('apiKey'): void);
});