mirror of
https://github.com/davidkaya/aryx.git
synced 2026-07-29 07:58:47 +02:00
fix: shell-launch copilot on windows
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -7,13 +7,17 @@ describe('createSidecarEnvironment', () => {
|
||||
expect(
|
||||
createSidecarEnvironment({
|
||||
PATH: 'C:\\tools',
|
||||
APPDATA: 'C:\\Users\\mail\\AppData\\Roaming',
|
||||
COPILOT_CLI: '1',
|
||||
COPILOT_LOADER_PID: '1234',
|
||||
copilot_run_app: '1',
|
||||
bun_install: 'C:\\Users\\mail\\.bun',
|
||||
NODE_OPTIONS: '--no-warnings',
|
||||
electron_run_as_node: '1',
|
||||
npm_config_user_agent: 'bun/1.3.6',
|
||||
}),
|
||||
).toEqual({
|
||||
APPDATA: 'C:\\Users\\mail\\AppData\\Roaming',
|
||||
PATH: 'C:\\tools',
|
||||
});
|
||||
});
|
||||
@@ -24,11 +28,13 @@ describe('createSidecarEnvironment', () => {
|
||||
PATH: 'C:\\tools',
|
||||
HOME: 'C:\\Users\\mail',
|
||||
FORCE_COLOR: '1',
|
||||
HTTPS_PROXY: 'http://proxy.local:8080',
|
||||
}),
|
||||
).toEqual({
|
||||
PATH: 'C:\\tools',
|
||||
HOME: 'C:\\Users\\mail',
|
||||
FORCE_COLOR: '1',
|
||||
HTTPS_PROXY: 'http://proxy.local:8080',
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user