mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-04 07:40:23 +00:00
fix(test): avoid inheriting process.env in nix config e2e
This commit is contained in:
@@ -12,7 +12,8 @@ import {
|
||||
import { withTempHome } from "./test-helpers.js";
|
||||
|
||||
function envWith(overrides: Record<string, string | undefined>): NodeJS.ProcessEnv {
|
||||
return { ...process.env, ...overrides };
|
||||
// Hermetic env: don't inherit process.env because other tests may mutate it.
|
||||
return { ...overrides };
|
||||
}
|
||||
|
||||
function loadConfigForHome(home: string) {
|
||||
|
||||
Reference in New Issue
Block a user