From ab38255f24da734a8aeed9c37c80a51866280539 Mon Sep 17 00:00:00 2001 From: Antoine du Hamel Date: Mon, 27 Jan 2025 23:42:16 +0100 Subject: [PATCH] chore(tests): do not fail tests when `DEBUG` is set in the env (#615) --- tests/setupTests.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/setupTests.ts b/tests/setupTests.ts index e1c96e039..6af41abd8 100644 --- a/tests/setupTests.ts +++ b/tests/setupTests.ts @@ -6,7 +6,7 @@ const OLD_ENV = process.env; // in case the local machine already set these values. const processEnv = Object.fromEntries( Object.entries(process.env).filter( - ([key]) => key !== `FORCE_COLOR` && !key.startsWith(`COREPACK_`), + ([key]) => key !== `FORCE_COLOR` && key !== `DEBUG` && !key.startsWith(`COREPACK_`), ), );