mirror of
https://github.com/coder/code-server.git
synced 2024-11-24 13:37:19 +03:00
506d3f43ed
* refactor(http): extract logic into constructRedirectPath This allows us to easily test our redirect path construction logic where we get the relative path, the query string and construct a redirect path. By extracting this from `redirect`, we can easily test this logic in a unit test. I did this so we could test some logic where slashes in query strings should be made human-friendly for users. * feat(testing): add tests for constructRedirectPath Co-authored-by: Asher <ash@coder.com> |
||
---|---|---|
.. | ||
e2e | ||
scripts | ||
unit | ||
utils | ||
package.json | ||
playwright.config.ts | ||
tsconfig.json | ||
yarn.lock |