From a157fe73363a973afe1ab7d7d8277940bfa19c08 Mon Sep 17 00:00:00 2001 From: Mathieu Suen Date: Thu, 2 Nov 2023 17:34:15 +0100 Subject: [PATCH] [NO JIRA] Fix yarn validate --- server/sonar-web/__mocks__/react-intl.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/server/sonar-web/__mocks__/react-intl.tsx b/server/sonar-web/__mocks__/react-intl.tsx index 03edab2f5fd..17041ce944b 100644 --- a/server/sonar-web/__mocks__/react-intl.tsx +++ b/server/sonar-web/__mocks__/react-intl.tsx @@ -36,6 +36,7 @@ module.exports = { } return [id, ...Object.values(values)].join('.'); }, + formatDate: jest.fn().mockReturnValue(''), }), FormattedMessage: ({ id, values }: { id: string; values?: { [x: string]: React.ReactNode } }) => { return ( -- 2.39.5