code-server/test/unit
Joe Previte 7ce9ee0db6
fix: check path is string in pathToFsPath
There's a chance this function can be called with a path that is not a string.

To catch that, we check if path is of a different type and throw an error if it
is.

This also adds a couple tests for this function.
2021-07-12 16:39:42 -07:00
..
browser feat: add setBodyBackgroundToThemeBackgroundColor 2021-07-08 11:24:04 -07:00
node fix: check path is string in pathToFsPath 2021-07-12 16:39:42 -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
register.test.ts chore: reformat with new prettier 2021-05-12 01:14:04 +05:30
serviceWorker.test.ts refactor: move unit tests to test/unit 2021-03-12 12:00:56 -07: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 Import utils as a group in tests 2021-06-29 12:03:38 -05:00