fix(chat): remove explicit any in test mock to fix CI lint

This commit is contained in:
yiling
2026-07-13 11:52:44 +08:00
parent e080167ac5
commit 02f2fde8ac
+1 -1
View File
@@ -7,7 +7,7 @@ vi.mock('@/ui/api/client', () => {
const chatMock = {
$post: vi.fn(),
sessions: {
$get: vi.fn(() => Promise.resolve({ ok: true, json: async () => ({ data: [] }) } as any)),
$get: vi.fn(() => Promise.resolve({ ok: true, json: async () => ({ data: [] }) } as unknown)),
$delete: vi.fn(),
messages: {
$get: vi.fn(),