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 return an array of timezones for specified country', () => {
const timezone = timezones.getTimezonesForCountry('ES');
// $ExpectError
(timezones.getTimezonesForCountry('ES'): number);
});
it('should throw an error without specified country', () => {
// $ExpectError
timezones.getTimezonesForCountry();
});
});