1
0
mirror of https://github.com/coder/code-server.git synced 2024-12-04 23:03:06 +08:00
code-server/test/unit/node/routes
Joe Previte 78658f1cf4
refactor: remove folder/workspace from vsCodeCliArgs (#4932)
* refactor: remove folder/workspace from vsCodeCliArgs

Since we handle this in the vscode.ts route, we no longer need to pass it to VS
Code as a CLI arg since it's deprecated on that side.

* feat(vscode): redirect to folder from cli

* Update src/node/routes/vscode.ts

Co-authored-by: Asher <ash@coder.com>

* fixup!: update _: type

* fixup!: move vars to lower if block

* fixup!: share redirect block

* fixup!: mmove req.query.ew block into if

* fixup!: refactor vscode tests

* refactor: make vscode.ts logic easier to read

* fixup!: fix broken tests and clean up logic

* chore: upgrade vscode version

* fixup!: delete unnecessary if closed block

* Update src/node/routes/vscode.ts

Co-authored-by: Asher <ash@coder.com>

* fixup!: rename to FOLDER_OR_WORKSPACE_WAS_CLOSED

Co-authored-by: Asher <ash@coder.com>
2022-03-02 15:36:38 -07:00
..
errors.test.ts Escape HTML from messages in error page (#4430) 2021-11-09 14:39:54 -07:00
health.test.ts fix(testing): revert change & fix playwright tests (#4310) 2021-10-28 15:27:17 -05:00
login.test.ts Implement last opened functionality (#4633) 2021-12-17 13:06:52 -06:00
static.test.ts Implement last opened functionality (#4633) 2021-12-17 13:06:52 -06:00
vscode.test.ts refactor: remove folder/workspace from vsCodeCliArgs (#4932) 2022-03-02 15:36:38 -07:00