From 9176a3afab55ba22a03e96a4c6d7da813213df05 Mon Sep 17 00:00:00 2001 From: xdk78 Date: Fri, 6 May 2022 13:30:37 +0200 Subject: [PATCH] try to fix ci env --- src/Utils/convertTime.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Utils/convertTime.test.ts b/src/Utils/convertTime.test.ts index 01fa8ed9..d826777a 100644 --- a/src/Utils/convertTime.test.ts +++ b/src/Utils/convertTime.test.ts @@ -12,9 +12,9 @@ describe('convertTime', () => { // fix for different timezones on CI if (process.env.CI) { expected = '5.05.2022, 16:33'; + } else { + expected = '5.05.2022, 18:33'; } - expected = '5.05.2022, 18:33'; - const result = formatFirebaseDateWithHours(timestamp); expect(result).toEqual(expected); });