mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-07 02:59:05 +00:00
Merge pull request #25719 from BerriAI/litellm_fix-ui-unit-tests-get-cookie
test(ui): add getCookie to cookieUtils mock in user_dashboard test
This commit is contained in:
commit
7b36cfc0de
1 changed files with 1 additions and 0 deletions
|
|
@ -45,6 +45,7 @@ vi.mock("jwt-decode", () => ({
|
|||
// Mock cookie utility
|
||||
vi.mock("@/utils/cookieUtils", () => ({
|
||||
clearTokenCookies: vi.fn(),
|
||||
getCookie: vi.fn().mockReturnValue("fake-jwt-token"),
|
||||
}));
|
||||
|
||||
// Mock fetchTeams
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue