mirror of https://git.tuxpa.in/a/code-server.git
refactor: fix bug in --home test
This commit is contained in:
parent
77ddac28fe
commit
b1282b9707
|
@ -55,6 +55,7 @@ describe("parser", () => {
|
||||||
"--log",
|
"--log",
|
||||||
"error",
|
"error",
|
||||||
"--help",
|
"--help",
|
||||||
|
"--home=http://localhost:8080/",
|
||||||
"--open",
|
"--open",
|
||||||
"--socket=mumble",
|
"--socket=mumble",
|
||||||
"3",
|
"3",
|
||||||
|
@ -85,8 +86,8 @@ describe("parser", () => {
|
||||||
"extra-builtin-extensions-dir": [path.resolve("bazzle")],
|
"extra-builtin-extensions-dir": [path.resolve("bazzle")],
|
||||||
"extra-extensions-dir": [path.resolve("nozzle")],
|
"extra-extensions-dir": [path.resolve("nozzle")],
|
||||||
help: true,
|
help: true,
|
||||||
|
home: "http://localhost:8080/",
|
||||||
host: "0.0.0.0",
|
host: "0.0.0.0",
|
||||||
home: "https://localhost:8080/",
|
|
||||||
json: true,
|
json: true,
|
||||||
log: "error",
|
log: "error",
|
||||||
open: true,
|
open: true,
|
||||||
|
|
Loading…
Reference in New Issue