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();