From 4a357fda936776755a869a8816b6ac59a154e610 Mon Sep 17 00:00:00 2001
From: Nitin Kumar <snitin315@gmail.com>
Date: Wed, 6 Nov 2024 07:56:35 +0530
Subject: [PATCH] chore: update normalizedStderr

---
 test/utils/test-utils.js | 15 ---------------
 1 file changed, 15 deletions(-)

diff --git a/test/utils/test-utils.js b/test/utils/test-utils.js
index b6781d8a258..ca4556200c6 100644
--- a/test/utils/test-utils.js
+++ b/test/utils/test-utils.js
@@ -309,21 +309,6 @@ const normalizeStderr = (stderr) => {
     normalizedStderr = normalizedStderr.join("\n");
   }
 
-  // TODO remove me after drop old Node.js versions and update deps
-  // Suppress warnings for Node.js version >= v22
-  // [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
-  if (process.version.startsWith("v22")) {
-    normalizedStderr = normalizedStderr
-      .split("\n")
-      .filter((line) => {
-        return (
-          !line.includes("DeprecationWarning: The `punycode` module is deprecated.") &&
-          !line.includes("Use `node --trace-deprecation ...`")
-        );
-      })
-      .join("\n");
-  }
-
   // the warning below is causing CI failure on some jobs
   if (/Gracefully shutting down/.test(stderr)) {
     normalizedStderr = normalizedStderr.replace(