From 4d7d612cd882a58df678deb419c26b811f734cb7 Mon Sep 17 00:00:00 2001 From: Ismail Cherri Date: Wed, 2 Oct 2024 14:03:13 +0200 Subject: SONAR-23202 Update react, react-dom and @types/react to 18.3.1 --- server/sonar-web/config/jest/SetupFailOnConsole.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'server/sonar-web/config') diff --git a/server/sonar-web/config/jest/SetupFailOnConsole.ts b/server/sonar-web/config/jest/SetupFailOnConsole.ts index 36268db3c14..2e0f3df81c0 100644 --- a/server/sonar-web/config/jest/SetupFailOnConsole.ts +++ b/server/sonar-web/config/jest/SetupFailOnConsole.ts @@ -18,7 +18,10 @@ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ import failOnConsole from 'jest-fail-on-console'; -const IGNORED_ERROR_MESSAGES: string[] = []; +const IGNORED_ERROR_MESSAGES: string[] = [ + // react-virtualized & react-draggable use `findDOMNode` which is deprecated + 'findDOMNode is deprecated and will be removed in the next major release', +]; failOnConsole({ silenceMessage: (message) => { -- cgit v1.2.3