aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/config/jest
diff options
context:
space:
mode:
authorIsmail Cherri <ismail.cherri@sonarsource.com>2024-10-02 14:03:13 +0200
committersonartech <sonartech@sonarsource.com>2024-10-03 20:02:51 +0000
commit4d7d612cd882a58df678deb419c26b811f734cb7 (patch)
tree7a09cb124e3e99cc5b519a06d2dd983731d221c7 /server/sonar-web/config/jest
parente4d86bcecaa3fc20d37971f11be44b0150195692 (diff)
downloadsonarqube-4d7d612cd882a58df678deb419c26b811f734cb7.tar.gz
sonarqube-4d7d612cd882a58df678deb419c26b811f734cb7.zip
SONAR-23202 Update react, react-dom and @types/react to 18.3.1
Diffstat (limited to 'server/sonar-web/config/jest')
-rw-r--r--server/sonar-web/config/jest/SetupFailOnConsole.ts5
1 files changed, 4 insertions, 1 deletions
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) => {