Skip to content

The agent that grows with you

test(desktop): isolate backend probe dependency home

ethernete3f414b82be9
diff --git a/apps/desktop/electron/backend-probes-runtime.test.ts b/apps/desktop/electron/backend-probes-runtime.test.ts
index f34b19903f5..9f6a0a64063 100644
--- a/apps/desktop/electron/backend-probes-runtime.test.ts
+++ b/apps/desktop/electron/backend-probes-runtime.test.ts
@@ -25,6 +25,7 @@ test('the real bootstrap supplies ruamel-only dependencies and rejects foreign-p
const env: NodeJS.ProcessEnv = {
...process.env,
+ HOME: home,
HERMES_HOME: home,
HERMES_RUNTIME_DIR: path.join(temp, 'tools'),
HERMES_DISABLE_LAZY_INSTALLS: '1',
@@ -32,7 +33,8 @@ test('the real bootstrap supplies ruamel-only dependencies and rejects foreign-p
UV_NO_CONFIG: '1',
PYTHONPATH: '',
PYTHONHOME: '',
- PYTHONDONTWRITEBYTECODE: '1'
+ PYTHONDONTWRITEBYTECODE: '1',
+ USERPROFILE: home
}
const setup: string = `