diff --git a/apps/web/src/test/pages/editing-planner/components/ClipPropertiesPanel.test.tsx b/apps/web/src/test/pages/editing-planner/components/ClipPropertiesPanel.test.tsx deleted file mode 100644 index c6bdfd50e..000000000 --- a/apps/web/src/test/pages/editing-planner/components/ClipPropertiesPanel.test.tsx +++ /dev/null @@ -1,63 +0,0 @@ -import { describe, expect, it, vi } from "vitest" -import { render } from "@testing-library/react" -import { MemoryRouter } from "react-router-dom" -import ClipPropertiesPanel from "@/pages/editing-planner/components/ClipPropertiesPanel" - -vi.mock("react-router-dom", async () => { - const actual = await vi.importActual("react-router-dom") - return { - ...actual, - useNavigate: () => vi.fn(), - } -}) - -const mockClip = { - id: "clip-1", - type: "voice", - duration: 10, - startOffset: 0, -} as any - -const defaultProps = { - selectedClip: mockClip, - titleSettings: { enabled: true, text: "Test Title" } as any, - subtitleSettings: { enabled: true } as any, - bgmSettings: { enabled: false } as any, - clipsCount: 3, - totalDuration: 60, - currentMode: "template" as const, - onTitleSettingsChange: vi.fn(), - onSubtitleSettingsChange: vi.fn(), - onBgmSettingsChange: vi.fn(), - onClipUpdate: vi.fn(), - onOpenBgmDrawer: vi.fn(), - onOpenSubtitleDrawer: vi.fn(), - voiceMaterials: [], - voiceMaterialsLoading: false, - onRefreshVoiceMaterials: vi.fn(), - onClipVoiceSelect: vi.fn(), - onOpenTransitionDrawer: vi.fn(), - onOpenSpeedDrawer: vi.fn(), - onOpenTtsDrawer: vi.fn(), - onOpenWatermarkDrawer: vi.fn(), -} - -describe("ClipPropertiesPanel", () => { - it("should render with selected clip", () => { - const { container } = render( - - - , - ) - expect(container).toBeTruthy() - }) - - it("should render without selected clip", () => { - const { container } = render( - - - , - ) - expect(container).toBeTruthy() - }) -})