From 3578c57e4f539f0c8d61fbf2443c8ea2f77c4b99 Mon Sep 17 00:00:00 2001 From: Patrik Oldsberg Date: Tue, 22 Oct 2024 14:40:27 +0200 Subject: [PATCH] e2e-test: allowlist backend punycode warning Signed-off-by: Patrik Oldsberg --- packages/e2e-test/src/commands/run.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/e2e-test/src/commands/run.ts b/packages/e2e-test/src/commands/run.ts index 0a9ac6368c..77e2e83c4c 100644 --- a/packages/e2e-test/src/commands/run.ts +++ b/packages/e2e-test/src/commands/run.ts @@ -531,7 +531,11 @@ async function testBackendStart(appDir: string, ...args: string[]) { !l.includes( 'ExperimentalWarning: `globalPreload` is planned for removal in favor of `initialize`.', // Node 18 ) && - !l.includes('node --trace-warnings ...'), + !l.includes( + 'DeprecationWarning: The `punycode` module is deprecated.', // Node 22 + ) && + !l.includes('node --trace-warnings ...') && + !l.includes('node --trace-deprecation ...'), ); };