Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

fixing tests

yuneng-jiang2645d258cbcb
diff --git a/ui/litellm-dashboard/src/components/team/team_info.test.tsx b/ui/litellm-dashboard/src/components/team/team_info.test.tsx
index bedc4d195c5..6c68188e37c 100644
--- a/ui/litellm-dashboard/src/components/team/team_info.test.tsx
+++ b/ui/litellm-dashboard/src/components/team/team_info.test.tsx
@@ -520,26 +520,6 @@ describe("TeamInfoView", () => {
});
});
- it("should open delete member modal when delete is triggered", async () => {
- const user = userEvent.setup();
- vi.mocked(networking.teamInfoCall).mockResolvedValue(createMockTeamData());
- vi.mocked(networking.teamMemberDeleteCall).mockResolvedValue({} as any);
-
- renderWithProviders(<TeamInfoView {...defaultProps} />);
-
- await waitFor(() => {
- const teamNameElements = screen.queryAllByText("Test Team");
- expect(teamNameElements.length).toBeGreaterThan(0);
- });
-
- const membersTab = screen.getByRole("tab", { name: "Members" });
- await user.click(membersTab);
-
- await waitFor(() => {
- expect(screen.getByRole("button", { name: "Confirm Delete" })).toBeInTheDocument();
- });
- });
-
it("should display team member budget information when present", async () => {
vi.mocked(networking.teamInfoCall).mockResolvedValue(
createMockTeamData({