Archived
1
0

fix: wrap socket in proxy before passing to vscode (#4840)

* chore: add ipc hook to e2e script

* refactor: allow codeServerArgs in e2e tests

* feat: add --cert e2e extension test

* fix: wrap websocket in proxy

* fixup: remvoe ignoreHTTPSErrors

* fixup: make codeServerArgs readonly

* fixup! add back ignoreHTTPSErrors
This commit is contained in:
Joe Previte
2022-02-15 14:51:42 -07:00
committed by GitHub
parent b26cce589f
commit e3e9f052c4
11 changed files with 34 additions and 13 deletions

View File

@ -31,7 +31,7 @@ export class CodeServer {
public readonly logger: Logger
private closed = false
constructor(name: string) {
constructor(name: string, private readonly codeServerArgs: string[]) {
this.logger = logger.named(name)
}
@ -78,6 +78,7 @@ export class CodeServer {
"node",
[
process.env.CODE_SERVER_TEST_ENTRY || ".",
...this.codeServerArgs,
// Using port zero will spawn on a random port.
"--bind-addr",
"127.0.0.1:0",