Archived
1
0
This repository has been archived on 2024-09-09. You can view files and clone it, but cannot push or open issues or pull requests.
code-server/test/unit/node
Asher 5c19962930
Set session socket into environment variable (#6282)
* Avoid spawning code-server with --reuse-window and --new-window

These flags mean the user explicitly wants to open in an existing
instance so if the socket is down it should error rather than try to
spawn code-server normally.

* Set session socket into environment variable

While I was at it I added a CLI flag to override the default.  I also
swapped the default to --user-data-dir.

The value is set on an environment variable so it can be used by the
extension host similar to VSCODE_IPC_HOOK_CLI.

* Add e2e test for opening files externally
2023-06-21 22:47:01 -08:00
..
routes Add origin checks to web sockets (#6048) 2023-03-03 03:12:34 -06:00
test-plugin fix: minor fixes related to release (#5732) 2022-11-01 10:16:30 -07:00
app.test.ts Prefer matching editor sessions when opening files. (#6191) 2023-06-14 13:32:07 -08:00
cli.test.ts Set session socket into environment variable (#6282) 2023-06-21 22:47:01 -08:00
constants.test.ts refactor: remove dead code (#5188) 2022-05-10 22:44:54 +00:00
heart.test.ts refactor(heart): bind class methods and make beat async (#5142) 2022-05-04 16:05:48 -07:00
http.test.ts Support X-Forwarded-Host with multiple hosts 2023-05-17 11:51:05 -08:00
plugin.test.ts Set session socket into environment variable (#6282) 2023-06-21 22:47:01 -08:00
proxy.test.ts Fix proxying non-ASCII (#6154) 2023-04-25 11:41:33 -08:00
settings.test.ts feat: publish beta and development tags on npm (#4769) 2022-01-21 16:28:56 -07:00
socket.test.ts chore: upgrade Code to 1.66 (#5135) 2022-05-04 21:58:49 +00:00
update.test.ts chore(deps): update dependency @types/node to v16 (#5170) 2022-08-10 16:15:52 -05:00
util.test.ts Add origin checks to web sockets (#6048) 2023-03-03 03:12:34 -06:00
vscodeSocket.test.ts Set session socket into environment variable (#6282) 2023-06-21 22:47:01 -08:00
wrapper.test.ts release: 4.9.0 (#5772) 2022-12-06 13:28:27 -07:00