-
- {apiKey === "" && (
-
- )}
-
- {apiKey !== "" && (
-
- {apiKey}
-
-
- )}
-
- >
- );
-};
diff --git a/frontend/app/config/components/ApiKeyConfig/__tests__/ApiKeyConfig.test.tsx b/frontend/app/config/components/ApiKeyConfig/__tests__/ApiKeyConfig.test.tsx
deleted file mode 100644
index e720c558c..000000000
--- a/frontend/app/config/components/ApiKeyConfig/__tests__/ApiKeyConfig.test.tsx
+++ /dev/null
@@ -1,52 +0,0 @@
-import { fireEvent, render } from "@testing-library/react";
-import { afterEach, describe, expect, it, vi } from "vitest";
-
-import { ApiKeyConfig } from "../ApiKeyConfig";
-
-const handleCreateClickMock = vi.fn(() => ({}));
-const handleCopyClickMock = vi.fn(() => ({}));
-
-const useApiKeyConfigMock = vi.fn(() => ({
- apiKey: "",
- handleCreateClick: () => handleCreateClickMock(),
- handleCopyClick: () => handleCopyClickMock(),
-}));
-
-vi.mock("../hooks/useApiKeyConfig", () => ({
- useApiKeyConfig: () => useApiKeyConfigMock(),
-}));
-
-describe("ApiKeyConfig", () => {
- afterEach(() => {
- vi.restoreAllMocks();
- });
-
- it("should render ApiConfig Component", () => {
- const { getByText } = render(