From 59a0283cf8dfc1a2995fddc52be44026d37aae97 Mon Sep 17 00:00:00 2001 From: Sebastian Markgraf Date: Mon, 19 Feb 2024 14:55:14 +0100 Subject: [PATCH] fix(test): fix test month --- src/__tests__/api.test.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/__tests__/api.test.tsx b/src/__tests__/api.test.tsx index 8e52357..9947a7f 100644 --- a/src/__tests__/api.test.tsx +++ b/src/__tests__/api.test.tsx @@ -10,7 +10,7 @@ import 'dayjs/locale/tr'; describe('API TESTS', () => { test('should display the passed date', () => { - const selectedDate = new Date(2020, 12, 19); + const selectedDate = new Date(2020, 11, 19); const month = selectedDate.toLocaleString('en-US', { month: 'long' }); render();