mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-04 02:31:27 +00:00
test(ui): drop redundant as-any casts from team mock fixtures
The mocked teamListCall resolves an any-typed payload, so the inner team fixtures no longer need casts to carry a null organization_id, a keys_count field, or partial key objects.
This commit is contained in:
parent
81ce064640
commit
b0754c615b
1 changed files with 4 additions and 4 deletions
|
|
@ -935,7 +935,7 @@ describe("OldTeams - organization alias display", () => {
|
|||
{
|
||||
team_id: "1",
|
||||
team_alias: "Test Team",
|
||||
organization_id: null as any,
|
||||
organization_id: null,
|
||||
models: ["gpt-4"],
|
||||
max_budget: 100,
|
||||
budget_duration: "1d",
|
||||
|
|
@ -984,7 +984,7 @@ describe("OldTeams - Resources column keys badge", () => {
|
|||
keys_count: 3,
|
||||
members_with_roles: [],
|
||||
spend: 0,
|
||||
} as any,
|
||||
},
|
||||
],
|
||||
total: 1,
|
||||
page: 1,
|
||||
|
|
@ -1016,10 +1016,10 @@ describe("OldTeams - Resources column keys badge", () => {
|
|||
tpm_limit: 1000,
|
||||
rpm_limit: 1000,
|
||||
created_at: new Date().toISOString(),
|
||||
keys: [{ token: "t1" } as any, { token: "t2" } as any],
|
||||
keys: [{ token: "t1" }, { token: "t2" }],
|
||||
members_with_roles: [],
|
||||
spend: 0,
|
||||
} as any,
|
||||
},
|
||||
],
|
||||
total: 1,
|
||||
page: 1,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue