Skip to content

Commit ab38255

Browse files
authored
chore(tests): do not fail tests when DEBUG is set in the env (#615)
1 parent 34abfca commit ab38255

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/setupTests.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const OLD_ENV = process.env;
66
// in case the local machine already set these values.
77
const processEnv = Object.fromEntries(
88
Object.entries(process.env).filter(
9-
([key]) => key !== `FORCE_COLOR` && !key.startsWith(`COREPACK_`),
9+
([key]) => key !== `FORCE_COLOR` && key !== `DEBUG` && !key.startsWith(`COREPACK_`),
1010
),
1111
);
1212

0 commit comments

Comments
 (0)