mirror of
https://github.com/coder/code-server.git
synced 2026-10-25 18:50:27 +08:00
Add flag to store state on remote instead of browser (#7914)
This commit is contained in:
@@ -1067,6 +1067,13 @@ describe("toCodeArgs", () => {
|
||||
})
|
||||
})
|
||||
|
||||
it("should pass through --enable-remote-storage", async () => {
|
||||
expect(await toCodeArgs(await setDefaults(parse(["--enable-remote-storage"])))).toStrictEqual({
|
||||
...vscodeDefaults,
|
||||
"enable-remote-storage": true,
|
||||
})
|
||||
})
|
||||
|
||||
it("should collect a repeated --vscode-option into an array", async () => {
|
||||
const args = parse([
|
||||
"--vscode-option",
|
||||
|
||||
Reference in New Issue
Block a user