Skip to content

Commit

Permalink
chore(tests): do not fail tests when DEBUG is set in the env (#615)
Browse files Browse the repository at this point in the history
  • Loading branch information
aduh95 authored Jan 27, 2025
1 parent 34abfca commit ab38255
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/setupTests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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_`),
),
);

Expand Down

0 comments on commit ab38255

Please sign in to comment.