From e3a3688979072bd1aac86e6b26c9b3815f2702a9 Mon Sep 17 00:00:00 2001 From: shantanu pawar Date: Sun, 5 Jan 2025 17:47:28 +0530 Subject: [PATCH] Fix: Prettier formatting --- __tests__/extension-requests/extension-requests.test.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/__tests__/extension-requests/extension-requests.test.js b/__tests__/extension-requests/extension-requests.test.js index caf1d379..d04ea74b 100644 --- a/__tests__/extension-requests/extension-requests.test.js +++ b/__tests__/extension-requests/extension-requests.test.js @@ -869,7 +869,9 @@ describe('Tests the Extension Requests Screen', () => { requestDaysArray.push(requestedDays.slice(5)); } - const sortedRequestDaysArray = [...requestDaysArray].sort((a, b) => new Date(a) - new Date(b)); + const sortedRequestDaysArray = [...requestDaysArray].sort( + (a, b) => new Date(a) - new Date(b), + ); expect(requestDaysArray).toEqual(sortedRequestDaysArray); });