code-server/test/unit/node
Asher b8d830b826
Update path syntax for Express
It seems that * matches a literal * now, so we have to use a regular
expression.

Parentheses around a parameter no longer works (it causes it to match on
the parameter name literally) and I am not sure why we had it anyway as
it had no effect previously.

Matching with a leading / does not appear to work either, but we do not
need the leading / anyway since the proxy logic was changed to use the
whole path.  Consequently it will never be / anymore from what I can
tell but I left that check in just in case.  I turned it into a named
parameter as well, because that seems better.
2024-04-16 09:54:33 -08:00
..
routes Run formatter 2023-09-11 09:27:28 -08:00
test-plugin Update dependencies and force-update qs (#6440) 2023-09-21 16:13:34 -08:00
app.test.ts Update dependencies and force-update qs (#6440) 2023-09-21 16:13:34 -08:00
cli.test.ts Add "CODE_SERVER_HOST" environment variable (#6423) 2023-09-08 22:50:11 +00:00
constants.test.ts refactor: remove dead code (#5188) 2022-05-10 22:44:54 +00:00
heart.test.ts refactor(heart): bind class methods and make beat async (#5142) 2022-05-04 16:05:48 -07:00
http.test.ts add trusted-origins cli argument (#6319) 2023-07-19 14:04:03 -08:00
plugin.test.ts Set session socket into environment variable (#6282) 2023-06-21 22:47:01 -08:00
proxy.test.ts Update path syntax for Express 2024-04-16 09:54:33 -08:00
settings.test.ts feat: publish beta and development tags on npm (#4769) 2022-01-21 16:28:56 -07:00
socket.test.ts chore: upgrade Code to 1.66 (#5135) 2022-05-04 21:58:49 +00:00
update.test.ts Update dependencies and force-update qs (#6440) 2023-09-21 16:13:34 -08:00
util.test.ts Remove humanPath (#6404) 2023-08-29 14:25:24 -08:00
vscodeSocket.test.ts Set session socket into environment variable (#6282) 2023-06-21 22:47:01 -08:00
wrapper.test.ts release: 4.9.0 (#5772) 2022-12-06 13:28:27 -07:00