aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/config/jest/SetupFailOnConsole.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/config/jest/SetupFailOnConsole.ts')
-rw-r--r--server/sonar-web/config/jest/SetupFailOnConsole.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/server/sonar-web/config/jest/SetupFailOnConsole.ts b/server/sonar-web/config/jest/SetupFailOnConsole.ts
index 182cafd7e37..251becf1978 100644
--- a/server/sonar-web/config/jest/SetupFailOnConsole.ts
+++ b/server/sonar-web/config/jest/SetupFailOnConsole.ts
@@ -22,6 +22,9 @@ import failOnConsole from 'jest-fail-on-console';
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',
+
+ // react-intl warning
+ '[@formatjs/intl] "defaultRichTextElements" was specified but "message" was not pre-compiled.',
];
failOnConsole({