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 throw an error without specified timezone', () => {
// $ExpectError
timezones.getCountriesForTimezone();
});
});
it('should return an array of countries for specified timezone', () => {
const timezone = timezones.getCountriesForTimezone('Europe/Berlin');
// $ExpectError
(timezones.getCountriesForTimezone('Europe/Berlin'): void);
});