From d336382f3a27f228138d5e06eb636f9b03c21791 Mon Sep 17 00:00:00 2001 From: xiaoxia Date: Fri, 4 Sep 2026 23:30:08 +0800 Subject: [PATCH] =?UTF-8?q?fix(tests):=20=E4=BF=AE=E5=A4=8D=20CI=20?= =?UTF-8?q?=E5=85=A8=E9=87=8F=E6=B5=8B=E8=AF=95=E5=A4=B1=E8=B4=A5=20?= =?UTF-8?q?=E2=80=94=20=E5=90=8E=E7=AB=AF=E9=BB=91=E5=B1=8F=E8=BF=87?= =?UTF-8?q?=E6=BB=A4=20+=20=E5=89=8D=E7=AB=AF=20icon=20mock=20=E7=BC=BA?= =?UTF-8?q?=E5=A4=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 1. test_duplicate_rate_scope: 测试数据用 5 个相同 phash 被 _is_bad_fingerprint() 拦截(PR #1688),改为 5 个不同 phash 2. VoiceLibrary.test: @ant-design/icons mock 缺少 VideoCameraOutlined/InboxOutlined/CloseOutlined(PR #1654/#1656) --- apps/web/src/test/pages/VoiceLibrary.test.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apps/web/src/test/pages/VoiceLibrary.test.tsx b/apps/web/src/test/pages/VoiceLibrary.test.tsx index 624d8fc0e..5d8b89efa 100644 --- a/apps/web/src/test/pages/VoiceLibrary.test.tsx +++ b/apps/web/src/test/pages/VoiceLibrary.test.tsx @@ -104,6 +104,9 @@ vi.mock("@ant-design/icons", () => ({ SoundOutlined: () => , UploadOutlined: () => , UserOutlined: () => , + VideoCameraOutlined: () => , + InboxOutlined: () => , + CloseOutlined: () => , })) vi.mock("@/store/authStore", () => ({