diff --git a/x-pack/platform/plugins/shared/lens/public/datasources/form_based/to_esql.test.ts b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/to_esql.test.ts index 2ede6cd915cc8..e78b9eec1153c 100644 --- a/x-pack/platform/plugins/shared/lens/public/datasources/form_based/to_esql.test.ts +++ b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/to_esql.test.ts @@ -282,9 +282,10 @@ describe('to_esql', () => { expect(esql).toEqual(undefined); }); - it('should work with iana timezones that fall udner utc+0', () => { + it('should work with iana timezones that fall under UTC+0', () => { uiSettings.get.mockImplementation((key: string) => { - if (key === 'dateFormat:tz') return 'Europe/London'; + // There are only few countries that falls under UTC all year round, others just fall into that configuration half hear when not in DST + if (key === 'dateFormat:tz') return 'Atlantic/Reykjavik'; return defaultUiSettingsGet(key); });