From e539a78c8f6efb544bfbd08fd04f35c520d0dc36 Mon Sep 17 00:00:00 2001 From: xiaoxia Date: Thu, 30 Jul 2026 09:52:36 +0800 Subject: [PATCH] chore: remove invalid test files for non-existent components --- .../voice/clone-modal/StepIndicator.test.tsx | 28 ------------------- 1 file changed, 28 deletions(-) delete mode 100644 apps/web/src/test/components/voice/clone-modal/StepIndicator.test.tsx diff --git a/apps/web/src/test/components/voice/clone-modal/StepIndicator.test.tsx b/apps/web/src/test/components/voice/clone-modal/StepIndicator.test.tsx deleted file mode 100644 index 369f41ea2..000000000 --- a/apps/web/src/test/components/voice/clone-modal/StepIndicator.test.tsx +++ /dev/null @@ -1,28 +0,0 @@ -import { describe, expect, it, vi } from "vitest" -import { render } from "@testing-library/react" -import StepIndicator from "@/components/voice/clone-modal/StepIndicator" - -vi.mock("@ant-design/icons", () => ({ - AudioOutlined: () => null, - UploadOutlined: () => null, - CheckOutlined: () => null, - CloseOutlined: () => null, - PlayCircleOutlined: () => null, - PauseCircleOutlined: () => null, - DeleteOutlined: () => null, - InfoCircleOutlined: () => null, -})) - -vi.mock("antd", () => ({ - Button: ({ children }: any) => null, - Input: () => null, - Progress: () => null, - message: { success: vi.fn(), error: vi.fn(), warning: vi.fn() }, -})) - -describe("StepIndicator", () => { - it("renders without crashing", () => { - const { container } = render() - expect(container).toBeTruthy() - }) -})