From e4b7d343c3bf78bbec0d3000a991e1bc2da54fa3 Mon Sep 17 00:00:00 2001 From: jesus Date: Sun, 11 Oct 2026 01:16:17 +0000 Subject: [PATCH] fix(ui): remove inline object lint warning Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> --- .../ProjectKeysTable.integration.test.tsx | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/ui/litellm-dashboard/src/app/(dashboard)/projects/_components/ProjectKeysTable.integration.test.tsx b/ui/litellm-dashboard/src/app/(dashboard)/projects/_components/ProjectKeysTable.integration.test.tsx index 91b69802666..fb9725e4d66 100644 --- a/ui/litellm-dashboard/src/app/(dashboard)/projects/_components/ProjectKeysTable.integration.test.tsx +++ b/ui/litellm-dashboard/src/app/(dashboard)/projects/_components/ProjectKeysTable.integration.test.tsx @@ -139,14 +139,14 @@ describe("ProjectKeysTable", () => { it("opens a focused row with Enter and labels an alias-less key with its ID", async () => { const user = userEvent.setup(); push.mockClear(); - renderWithProviders( - , - ); + const aliasLessKeyInput = { + token: "tok-no-alias", + token_id: "tid-no-alias", + key_alias: null as any, + user_id: "owner-1", + }; + const aliasLessKey = makeKey(aliasLessKeyInput); + renderWithProviders(); const row = screen.getByRole("row", { name: "Open key tid-no-alias" }); row.focus(); expect(row).toHaveFocus();