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:
ryan-crabbe-berri 2026-06-13 09:53:06 -07:00
parent 81ce064640
commit b0754c615b

View file

@ -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,