mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-25 05:54:53 +00:00
style(ui): format prefix-aware login URL regression test
This commit is contained in:
parent
8719dfd922
commit
eb9e706206
1 changed files with 1 additions and 3 deletions
|
|
@ -108,9 +108,7 @@ describe("returnUrlUtils", () => {
|
|||
it("keeps a nested root in same-origin SSO return URLs", () => {
|
||||
setServerRootPath("/services/llm/");
|
||||
expect(getLoginUrl()).toBe("/services/llm/ui/login/");
|
||||
expect(getLoginUrl("https://platform.example.com")).toBe(
|
||||
"https://platform.example.com/services/llm/ui/login/",
|
||||
);
|
||||
expect(getLoginUrl("https://platform.example.com")).toBe("https://platform.example.com/services/llm/ui/login/");
|
||||
expect(getLoginUrl("https://platform.example.com/services/llm/")).toBe(
|
||||
"https://platform.example.com/services/llm/ui/login/",
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue