mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-04 02:31:27 +00:00
fix(ci): add missing isUserTeamAdminForAnyTeam mock to leftnav test
The leftnav component now imports isUserTeamAdminForAnyTeam from utils/roles, but the test mock didn't include it. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
be49439fa2
commit
2e6c7f6c9a
1 changed files with 1 additions and 0 deletions
|
|
@ -9,6 +9,7 @@ vi.mock("../utils/roles", () => {
|
|||
internalUserRoles: ["internal"],
|
||||
rolesWithWriteAccess: ["admin", "internal"],
|
||||
isAdminRole: (role: string) => role === "admin",
|
||||
isUserTeamAdminForAnyTeam: () => false,
|
||||
};
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue