1
0
mirror of https://git.tuxpa.in/a/code-server.git synced 2024-12-28 05:05:25 +00:00
code-server-2/test
Asher 4b4ec37880
Fix relative paths (#4594)
* Add tests for relativeRoot

* Remove path.posix.join

Since this is for file system paths it feels incorrect to use it on
URL paths as they are different in many ways.

* Rewrite cookie path logic

Before we relied on the client to resolve the base given to it by the
backend against the path.

Instead have the client pass that information along so we can resolve it
on the backend.  This means the client has to do less work.

* Do not remove out directory before watch

This is re-used for incremental compilation.

Also remove del since that was the only use (and we can use fs.rmdir in
the future if we need something like this).

* Remove unused function resolveBase
2021-12-08 15:52:15 -06:00
..
e2e Use upstream server (#4414) 2021-11-09 23:28:31 -06:00
scripts feat(brew-bump): add check for cleanup step 2021-09-28 16:07:01 -07:00
unit Fix relative paths (#4594) 2021-12-08 15:52:15 -06:00
utils Proxy path fixes (#4548) 2021-12-01 18:21:52 -06:00
package.json chore(deps): upgrade json-schema version to 0.4.0 (#4543) 2021-11-22 19:36:04 +00:00
playwright.config.ts fix(testing): revert change & fix playwright tests (#4310) 2021-10-28 15:27:17 -05:00
tsconfig.json refactor: move jest around and add code coverage 2021-01-22 14:18:45 -07:00
yarn.lock chore(deps): upgrade json-schema version to 0.4.0 (#4543) 2021-11-22 19:36:04 +00:00