feat: 素材处理管线——自动处理、审核流程、6状态机
This commit is contained in:
@@ -12,6 +12,8 @@ const MOCK_MATERIAL: Material = {
|
||||
createdAt: "2026-06-03T00:00:00.000Z",
|
||||
description: "测试素材描述",
|
||||
id: "test-id",
|
||||
materialType: "general",
|
||||
processedContent: null,
|
||||
projectId: "project-1",
|
||||
status: "pending",
|
||||
updatedAt: "2026-06-03T00:00:00.000Z",
|
||||
@@ -28,7 +30,7 @@ describe("MaterialCard", () => {
|
||||
}),
|
||||
);
|
||||
expect(screen.getByText("测试素材描述")).not.toBeNull();
|
||||
expect(screen.getByText("待审核")).not.toBeNull();
|
||||
expect(screen.getByText("待处理")).not.toBeNull();
|
||||
});
|
||||
|
||||
test("点击卡片触发 onSelect", () => {
|
||||
|
||||
Reference in New Issue
Block a user