code-server/test/unit
Joe Previte 5c61318592
refactor: only accept string in pathToFsPath
CodeQL caught a path where we were passing in req.query.path
to pathToFsPath, which may not have been a string.

So we refactored some things to ensure we only pass it a string
which also let us change the parameter type to string
instead of string | string[].
2021-07-21 11:11:59 -07:00
..
browser feat(vscode): update to version 1.57.0 (#3544) 2021-07-14 00:39:20 +05:30
node refactor: only accept string in pathToFsPath 2021-07-21 11:11:59 -07:00
routes fix(http): escape req.query.to in replaceTemplates 2021-07-01 10:43:37 -07:00
test-plugin chore: update code-server path in tsconfig 2021-03-12 12:00:57 -07:00
cli.test.ts refactor: parse options with multiple = in cli 2021-06-08 14:33:17 -07:00
constants.test.ts Fix helpers not working in e2e tests 2021-05-06 15:01:35 -05:00
emitter.test.ts feat(test): try calling .dispose() x2 in emitter 2021-07-02 14:27:12 -07:00
helpers.test.ts Move tmpdir test helper to test helpers file 2021-05-06 14:25:50 -05:00
http.test.ts refactor: move unit tests to test/unit 2021-03-12 12:00:56 -07:00
plugin.test.ts refactor: move unit tests to test/unit 2021-03-12 12:00:56 -07:00
proxy.test.ts Refactor integration tests to use main entry point 2021-05-05 12:24:41 -05:00
socket.test.ts refactor: move tmpdir into src/node/constants 2021-04-23 14:35:32 -07:00
update.test.ts Re-enable update tests 2021-05-04 13:29:42 -05:00
util.test.ts feat(vscode): update to version 1.57.0 (#3544) 2021-07-14 00:39:20 +05:30