chore(tests): do not fail tests when `DEBUG` is set in the env (#615)

This commit is contained in:
Antoine du Hamel 2025-01-27 23:42:16 +01:00 committed by GitHub
parent 34abfcaee8
commit ab38255f24
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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_`),
),
);