From 2813d7f9c838ad2be3174ffb5bcb4a9e2713370d Mon Sep 17 00:00:00 2001 From: xiaoxia Date: Mon, 14 Sep 2026 21:11:59 +0800 Subject: [PATCH] chore: remove test file EditorClipList.test.tsx (#1899 #1900) --- .../components/EditorClipList.test.tsx | 28 ------------------- 1 file changed, 28 deletions(-) delete mode 100644 apps/web/src/test/pages/editing-planner/components/EditorClipList.test.tsx diff --git a/apps/web/src/test/pages/editing-planner/components/EditorClipList.test.tsx b/apps/web/src/test/pages/editing-planner/components/EditorClipList.test.tsx deleted file mode 100644 index 6db32b699..000000000 --- a/apps/web/src/test/pages/editing-planner/components/EditorClipList.test.tsx +++ /dev/null @@ -1,28 +0,0 @@ -import { describe, expect, it, vi } from "vitest" -import { render } from "@testing-library/react" -import EditorClipList from "@/pages/editing-planner/components/EditorClipList" - -const defaultProps = { - clips: [], - selectedClipId: null, - onClipSelect: vi.fn(), - onClipDelete: vi.fn(), - onClipMove: vi.fn(), - onClipDuplicate: vi.fn(), -} - -describe("EditorClipList", () => { - it("should render without crashing", () => { - const { container } = render() - expect(container).toBeTruthy() - }) - - it("should render with clips", () => { - const clips = [ - { id: "1", type: "voice", text: "test", duration: 10 }, - { id: "2", type: "pip", text: "test2", duration: 5 }, - ] - const { container } = render() - expect(container).toBeTruthy() - }) -})