mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-11-23 10:46:53 +00:00
fix(chat): remove explicit any in test mock to fix CI lint
This commit is contained in:
@@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user