Skip to content

Commit 6dfc362

Browse files
committed
chore: update normalizedStderr (#4319)
1 parent c7f5264 commit 6dfc362

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

test/utils/test-utils.js

-15
Original file line numberDiff line numberDiff line change
@@ -309,21 +309,6 @@ const normalizeStderr = (stderr) => {
309309
normalizedStderr = normalizedStderr.join("\n");
310310
}
311311

312-
// TODO remove me after drop old Node.js versions and update deps
313-
// Suppress warnings for Node.js version >= v22
314-
// [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
315-
if (process.version.startsWith("v22")) {
316-
normalizedStderr = normalizedStderr
317-
.split("\n")
318-
.filter((line) => {
319-
return (
320-
!line.includes("DeprecationWarning: The `punycode` module is deprecated.") &&
321-
!line.includes("Use `node --trace-deprecation ...`")
322-
);
323-
})
324-
.join("\n");
325-
}
326-
327312
// the warning below is causing CI failure on some jobs
328313
if (/Gracefully shutting down/.test(stderr)) {
329314
normalizedStderr = normalizedStderr.replace(

0 commit comments

Comments
 (0)