Skip to content

Commit cfcc6bb

Browse files
Update packages/core/src/test/testUtil.ts
Co-authored-by: Justin M. Keyes <[email protected]>
1 parent d10f613 commit cfcc6bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/src/test/testUtil.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -620,7 +620,7 @@ export function setEnv(newEnv: NodeJS.ProcessEnv): void {
620620
}
621621

622622
export function readEnv(): NodeJS.ProcessEnv {
623-
return process.env
623+
return { ...process.env }
624624
}
625625

626626
export function envWithNewPath(newPath: string): NodeJS.ProcessEnv {

0 commit comments

Comments
 (0)