eigent/test/mocks
google-labs-jules[bot] 7043f939cd fix: quote uv executable path to support spaces in username on Windows
The `uv` executable path was not quoted, causing failures on Windows when the user profile path contained spaces (e.g. "C:\Users\John Doe\.eigent\bin\uv.exe"). This occurs because `spawn` with `shell: true` parses the space as an argument separator.

This change wraps the `uv_path` in double quotes when constructing `npmCommand` and `npxCommand`, ensuring the shell treats the full path as the executable.

Also fixed a missing mock for `getUvEnv` in `test/mocks/environmentMocks.ts` which was causing unit tests to fail.
2026-01-18 08:08:51 +00:00
..
authStore.mock.ts feat: initial test of case 1 2025-10-16 19:27:14 +03:00
electronMocks.ts update test 2025-10-06 13:09:11 +08:00
environmentMocks.ts fix: quote uv executable path to support spaces in username on Windows 2026-01-18 08:08:51 +00:00
proxy.mock.ts feat(test): main flow of replay then starting chat 2025-10-17 02:52:14 +03:00
sse.mock.ts chore: rename search agent into browser agent 2026-01-17 04:26:30 +08:00
testUtils.ts feat: unit test install logic main process 2025-10-03 03:52:56 +03:00